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 via building entrances? #336

Open
neiljp opened this issue Feb 20, 2015 · 6 comments
Open

Routing via building entrances? #336

neiljp opened this issue Feb 20, 2015 · 6 comments

Comments

@neiljp
Copy link

neiljp commented Feb 20, 2015

From the performance of graphhopper on current OSM data (ie. the new functionality on osm.org), it seems that routing does not go from building entrances, ie. entrance=* or building=entrance, but rather simply from the centre of a building?

While for car routing this is not an issue (being very zoomed out?), for foot routing it is often useful to know/see entrances and particular foot routes to take.

I'm currently looking at a University campus, for example:
http://www.openstreetmap.org/directions?engine=graphhopper_foot&route=57.16568%2C-2.10589%3B57.16478%2C-2.10386#map=18/57.16520/-2.10471
-> this takes a delivery road (not gated or really private, at least compared to the university) instead of simply going to the nearest entrance node (to the north of the meston building).

@karussell
Copy link
Member

But if you put the marker there it will route you there, so is this probably more a geocoding issue?

@ChaoticMind
Copy link

Nah, it doesn't consider the entrance as a building-exit when you move the marker inside the building. It only appears to do so when the closest road extremity to your marker becomes the footpath north of the building (in the example above).

This is done regardless of the presence of any entrances.

It just means distance(marker, footpath) < distance(marker, service_road_middle_of_building).

@karussell
Copy link
Member

GraphHopper does not know anything about the building, to know which entrance is close GH would need the indoor map or at least the area which would increase hardware resources etc a lot. But maybe we find a cheaper solution.

@karussell
Copy link
Member

Hmmh, but this service road in the middle of the building has no entrance into the building? Are there different kinds of entries so that e.g. main entrances should be preferred?

@ChaoticMind
Copy link

@karussell you mean in general or in that example? In general, yes, but in this example it's unspecified. But I think I didn't really understand the question.

@karussell
Copy link
Member

This might be a duplicate of #371? (or as this is older the other way around but the new issue has pretty images ;))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants