How to do routing in multi-floor building?

For multi-floor building, latitude and longitude for any point is same for all levels. Is there any way to diffentiate by levels?

Thanks

In your addressing data is there sub addressing information?

Hi
if we create attribute with name “level”, can able to do routing for multi-floor?

Thanks

Only if there is path data in your graph to reach different levels.
Alternatively you could code an additional time factor for addresses that are not on ground level.

Someone else might be able to provide you with another solution though.

This indoor use case is currently not fully supported and requires at least a change in the OSMReader and in the location index to consider the level or altitude: https://github.com/graphhopper/graphhopper/issues/646

But once you have the graph and the node IDs, the routing will work even if the lat,lon is identical.

Powered by Discourse