Closed CloudNiner closed 7 years ago
Is this error coming from osm2pgrouting? I recall running into a similar issue early on in my testing. I started some discussion with the developers: https://github.com/pgRouting/osm2pgrouting/issues/127
I'm fine with dropping any broken ways at the edges.
I should call attention to the fact that osm2pgrouting was crashing with a segfault in such cases, so we should definitely handle this before importing to the DB. I believe they've fixed this in newer versions but it would not be advisable for us to change versions this late in the game.
Yes its coming from osm2pgrouting, but the root issue is that when we use osmconvert to clip our input OSM file to the bbox we care about for the analysis, we don't use one of the flags mentioned above, leading to the broken refs.
As you suggest, --drop-broken-refs
is likely preferable to --complete-ways
in our case.
Example:
osmconvert has two options to assist with this:
If incomplete ways outside the bounding border become an issue for incomplete analyses, we should consider using one of the above options when we call osmconvert.