Skip to content
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

Routing error - entrance and barrier ignored in favor of area center. #7340

Open
contrapunctus-1 opened this issue Jul 28, 2019 · 6 comments
Labels
Observed Needs more clarification, feedback, or research

Comments

@contrapunctus-1
Copy link
Contributor

contrapunctus-1 commented Jul 28, 2019

OsmAnd v3.4.4 from F-Droid, on a Nokia 6.1, Android v9.

Using offline maps and in-app pedestrian routing in Delhi, India with default settings
from geo:28.569485,77.23886
to geo:28.56841,77.23811
results in the following -

Screenshot_20190728-174038

The gate with entrance=main is ignored, even though there is a path connecting it to the main street and the path continues into the school. Even if a gate isn't connected (as such details may often be missing), an entrance=main should be preferred over the area center, especially if the area has a barrier=* tag.

Graphhopper demonstrates a similar problem -
https://www.openstreetmap.org/directions?engine=graphhopper_foot&route=28.56925%2C77.23889%3B28.56838%2C77.23814#map=17/28.56882/77.23807

On a side note, what on earth is up with the routing in the northeast near the station?

@hakuchi
Copy link
Contributor

hakuchi commented Jul 28, 2019

this is because the footways and steps near your starting point have no connection to the street.
Because of this, the engine use the nearest street to calculate the path.

check out this footway: https://www.openstreetmap.org/way/697784572
the endpoint of it is connected to the building, but not to the street: https://www.openstreetmap.org/node/6553107235

@contrapunctus-1
Copy link
Contributor Author

That is correct - the way you've linked is a Metro interchange walkway, which is not directly connected to the streets. It might be because the station exit isn't connected to the streets, but changing the starting point to the street near the exit doesn't fix the routing issue, either 🤔

@hakuchi
Copy link
Contributor

hakuchi commented Jul 29, 2019

if the way, I linked above, have no connection to a other way with highway tagging, you will not find any router what is able to calculate a correct route.

You can use https://wiki.openstreetmap.org/wiki/Tag:highway%3Dcorridor to add a connection from the subway to the street.

This is not a error in OsmAnd. You can fix this in OSM!

@vshcherb vshcherb added the Observed Needs more clarification, feedback, or research label Sep 26, 2019
@contrapunctus-1
Copy link
Contributor Author

@hakuchi , it isn't related to the subway not being connected to the street. Even if I move the start point to the street, the problem persists -

Screenshot_20190925-193804

@hakuchi
Copy link
Contributor

hakuchi commented Oct 3, 2019

if you will have the correct routing to the entrance of the scool you must place the endpoit near the entranse and not somewhere in the backyard.

@contrapunctus-1
Copy link
Contributor Author

Ah, I just tapped the school, that's the end point OsmAnd sets for you. At any rate, since the boundary is a wall, I'd request that OsmAnd take that into consideration and look for an entrance=*.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Observed Needs more clarification, feedback, or research
Projects
None yet
Development

No branches or pull requests

3 participants