Exclude ways with access=private or have access=no and do no explicitly allow bicycles#847
Conversation
6896e95 to
c32fb08
Compare
|
I am a bit wary of using
source: https://osmnx.readthedocs.io/en/stable/user-reference.html#osmnx.graph.graph_from_place, for the Shall we just filter with |
|
Seems like the Tillikum crossing example isn't really relevant. The bike paths are mapped as separate ways, and the transit portion of the bridge shouldn't show up in the "drivable road network" nor in the BNA. I'm not sure about the toll roads. There's probably more merit to account for cases when people tag |
c32fb08 to
cf71131
Compare
|
Based on the above, I've added a commit so that the following ways are included:
As an overpass query, it would be something like: The (fixed) inverse query of ways that would be excluded: |
|
I think the overpass link for the inverse query got messed up. Here's what I think is the correct one. https://overpass-turbo.eu/s/23po I took a quick look at what would be excluded in my area and it correctly removes the way that prompted the initial bug report. Other removals all seem to be correct -- I didn't see many false positives, and those were based on incorrect/dubious tagging. Most of the true negatives probably would have previously made it into the analysis as low stress -- stuff like |
cf71131 to
5a621ce
Compare
|
We went over these changes and they make a lot of sense, thanks! We'll approve this PR soon to get it merged, we just want to make sure that the documentation on our end is updated (if needed) and that this change does not conflict with anything else in the methodology. |
|
Thank you! If there's anything else I can update for this, just let me know. |
5a621ce to
2c3fb21
Compare
Pull-Request
Types of changes
change)
Description
This change proposes adding additional exclusions for ways that have access=no or access=private to close #840. The exclusion exists for footways currently, but not other ways. I think it's probably correct and minimally impactful to add the exclusion to every case.
In running analysis for Madison, WI after applying this patch, the private path (1309414435) that was part of the report in #840 is shown crudely highlighted is now not part of the network as expected:
Checklist
Fixes: #840