-
-
Notifications
You must be signed in to change notification settings - Fork 370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pgr_nodenetwork on very long lines misses some nodes #1882
Comments
I've started a branch on my fork, where I've added a first attempt at a test case that should cover this issue. Still figuring out how to actually run the test, but I thought I'd already share what I have so far. |
Thanks a lot! Feel free to ask on our chat if you have some question or want to discuss something. |
FYI
And make the PR if possible to both branches, master/main and develop. |
Made a comment in |
Problem
pgr_nodenetwork misses nodes on very long ferry lines imported from OSM.
To Reproduce
Load the table
public.lines
from the sql in the Sample Data section.Execute
Expectation
All points where the lines overlap should be noded. However, some are missing.
Multiple re-runs give the same missing nodes, so the failure seems to be at least stable over time.
With the results from this sample data, one is missing (in the middle, above the two overlapping nodes):
Sample Data
This was imported with
osm2pgsql
from the fileferries-problematic.osm.pbf
in this zip:ferries-problematic.zip
Platform/versions
The text was updated successfully, but these errors were encountered: