navigationgraphhopper

Using GraphHopper in a building - Indoor Navigation


I'm trying to use GraphHopper core to create a indoor navigation app. I already create a .osm file of the building(with 2 floors) containing all the possible routes inside the building.

The problem that I'm facing now is that there is no way to filter points by floors, i.e, when I make a call to the web API /route the points only have lat/lon and no floor or something similar to distinguish between to points with the same lat/lon.

How can I solve this problem? Anyone can give me some hints to accomplish this task?


Side question: How can integrate GraphHopper jsprit with GraphHopper core? Where can I find some documentation about that?


Solution

  • This is a missing feature. See this issue https://github.com/graphhopper/graphhopper/issues/646

    You could attach a z-component for every edge (or node) and use an EdgeFilter to pick the correct floor.