Closed iamvinayak closed 4 years ago
I am not sure how I can share the OSM file which I am using, but here is a sample WAY from my OSM file. Any insights will be helpful.
`
`
Any insights will be helpful.
<way id="-245561">
,<tag k="RAMP"
imho:
higway=
tag in your example ...india
extract from http://download.geofabrik.de/asia/india.html Yes, @ImreSamu is right - while the data here is in OSM XML format, it is not usable by OSRM.
OSRM only understands the tagging conventions from the OSM Wiki - you cannot just make <way>s
and exepect routable output. The ways must be tagged properly, according to the normal OSM scheme.
In addition, I can see that you have invalid node references:
<way id="-245561"> <nd ref="-1"/> <nd ref="-2"/> <nd ref="-3"/> <nd ref="-4"/>
Negative numbers in IDs and refs are not valid - OSRM expects these numbers to be positive.
thanks @ImreSamu and @danpat. I added logging statements in LUA profile to check where the extraction process was breaking. It was due to missing OSRM specific tags like 'highway'.
I have requested my vendor to prepare the OSM file as per OSRM tags specification.
I am trying to convert the OSM data into OSRM format using the steps documented on Wiki. However, while executing osrm-extract, I am receiving an error. Here is the output snippet of esrm-extract command. I am using the default car.lua profile which ships with OSRM profiles.