Osmosis-merged ways not routable? #6816
-
My workflow requires appending new ways to existing .pbf. I am using Osmosis to combine .osm file with .pbf file to produce a new .pbf file. After appending and starting OSRM, using the tile service, I see the new ways were added to the routing graph, but fail to find a route over the newly-added ways when querying OSRM directly, or through the osrm frontend. here is a piece of my .osm file:
my .lua profile allows routing on highway=track. Any ideas what could I try to troubleshoot the issue? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
You’ll need to make sure that the new ways are also connected to the rest of the network. Meaning, connecting ways need to have the same node ID referenced. |
Beta Was this translation helpful? Give feedback.
-
It did cross my mind, but I also thought the appended ways should be routable independently of the rest, which is not the case. Thank you for the suggestion anyways, I will try that. |
Beta Was this translation helpful? Give feedback.
-
This advice worked for me. My workflow now consists of opening JOSM, downloading the area of interest, adding the new ways and submitting the changes to the osm db. Then I get the IDs of the new ways and the ways the new ways connect to in newly-added nodes (if any were added), delete the data layer and get one-by-one all of the newly added ways into a new blank data layer. Then I save the work into .osm file. Such file is then combined with mu local .pbf. Works every time. |
Beta Was this translation helpful? Give feedback.
You’ll need to make sure that the new ways are also connected to the rest of the network. Meaning, connecting ways need to have the same node ID referenced.