You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After running osm2pgrouting on the Greater London OSM data (listed below) I'm left with a bunch of ways in the ways table that have an identical node id for both the source and target. This makes those ways un-routable, even though the ways seem completely legit and aren't broken in OSM.
The only thing I can think of that may be triggering this bug is that the affected ways are so short (length values in the database of less than 0.00…).
Any ideas? I'd like to see this fixed but in the meantime I'd be happy to settle for a short-term workaround.
Thanks for looking at this. The "snapping tolerance" is an attribute of the pgRouting function and if there exist tiny ways as you mention, then this looks like a data issue. If these ways are valid though, then the tolerance needs to be smaller.
But this means that other areas, where mappers are not careful with connecting ways would get disconnected networks.
Probably it would be best to make the snapping tolerance an optional parameter of osm2pgrouting.
The ways mentioned were definitely legitimate (tiny bits of road wedged between 2 slightly-offset junctions), however I understand that changing the tolerance has an impact on others who may not have these issues.
Having the tolerance as a user-definable parameter (and mention in the documentation) would be perfect.
After running osm2pgrouting on the Greater London OSM data (listed below) I'm left with a bunch of ways in the ways table that have an identical node id for both the source and target. This makes those ways un-routable, even though the ways seem completely legit and aren't broken in OSM.
The only thing I can think of that may be triggering this bug is that the affected ways are so short (length values in the database of less than 0.00…).
Any ideas? I'd like to see this fixed but in the meantime I'd be happy to settle for a short-term workaround.
Further info
The text was updated successfully, but these errors were encountered: