-
Notifications
You must be signed in to change notification settings - Fork 0
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
Angel Island paths/roads not navigable #167
Comments
Figured out why some attempted routes within Angel Island give 500s: this line calls It is weird that we don't have a check for that rather than crashing, but points to the fundamental issue being that we won't snap to points on Angel Island. |
I've yet to find an explanation why the router isn't snapping to points on Angel Island, but here's what I know: This way, "Perimeter Road," is tagged:
The This way running alongside North Ridge Trail is tagged:
Again, highway=track shouldn't pose a problem for snapping or access, and those access tags should be fine for As for this footway, I thought we were not snapping to it because of #148. We should probably rethink #148, which will prevent snapping to this footway, which has no parallel road alternative, and explicitly has I also don't see any enclosing feature on OSM that has restricted access (for example, if the whole of Angel Island State Park were tagged |
does the router drop edges that aren't connected to the rest of the graph? it shouldn't, that's what nom-GTFS ferry edges are used for |
Oh, excellent question. A bug where the router is failing to follow the ferry edges, and therefore dropping these edges for not being connected to the rest of the graph, seems like a plausible hypothesis. Worth looking into. There is a ferry edge, and the Angel Island ferry terminal is connected to the other roads/paths on Angel Island by a highway=footway (with bicycle=dismount). |
Okay, I've found the cause. Because of #85, which made the bike router ignore ferries, Angel Island's roads and paths are considered to form a small, disconnected "subnetwork" for the purposes of the bike router1, which is then ignored for bike routing. It's not immediately clear what a correct fix would be, but maybe revert #85 (or configure use_ferries to true, which requires the bug fix #168 to be merged), and address that issue in a different way. In principle, we should still use ferries for 'bike2' routing, just not for 'pt' routing with 'bike2' as the connecting profile.
|
agreed, I think we should fix this in the PT routing section of the code, we shouldn't exclude Angel Island from the bike graph |
The router thinks the paths and roads on Angel Island are all unnavigable, which is causing absurd results where the Angel Island ferry terminal is snapping to a road in Tiburon, making it recommend getting to Tiburon by using the Angel Island ferry then teleporting over the water.
Routes within Angel Island either 500 or give absurd results.
Most paths in Angel Island seem to have
highway=footway
while the roads havemotor_vehicle=private
,foot=yes
,bicycle=yes
. This should be navigable for us.The text was updated successfully, but these errors were encountered: