[OSRM-talk] Using custom data

Emil Tin ZF0F at tmf.kk.dk
Thu Oct 15 12:20:01 UTC 2015


Are you sure segments are connected at the noded?

Sendt fra min HTC-telefon

----- Reply message -----
Fra: "Matthias Loeks" <matthias at loeks.net>
Til: "osrm-talk at openstreetmap.org" <osrm-talk at openstreetmap.org>
Emne: [OSRM-talk] Using custom data
Dato: tor, okt. 15, 2015 13:19

Hi list,

I'm running a little experiment with using custom geo data for OSRM.
Following the advice of [1], I converted my data to OSM XML format, for
now neglecting all kinds of tags/attributes etc. (this could be done later).
You can find the resulting OSM file here:
https://dl.dropboxusercontent.com/u/56544580/extract.osm
The file can be viewed correctly using JOSM.

I also created a very basic profile:
https://dl.dropboxusercontent.com/u/56544580/custom.lua
This profile should just contain the necessary variables read by
osrm-extract. It should not exclude any of the OSM nodes or ways, just
let them all pass through to the routing graph. Also, there should be no
turn restrictions.

The processing chain (extract, prepare) runs successfully and I can also
start the osrm-routed server.
The locate and nearest services are working fine. However, the viaroute
service returns only a valid route, if just one segment is involved. As
soon as there are junctions, no route can be calculated (code 207).

Can this be related to the turn restrictions? I had hoped they would be
entirely ignored if switched off in the profile.
Or am I missing something else important in my profile or data?
Are there maybe any OSM tags which are absolutely required by OSRM
directly, even if a fully customised profile is being used?

Any help or suggestions on this are greatly appreciated!

Many thanks and best regards,
Matthias

--
[1] -
https://lists.openstreetmap.org/pipermail/osrm-talk/2015-May/000844.html


_______________________________________________
OSRM-talk mailing list
OSRM-talk at openstreetmap.org
https://lists.openstreetmap.org/listinfo/osrm-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20151015/0f8b2efa/attachment.html>


More information about the OSRM-talk mailing list