OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

#1 2019-07-04 16:16:54

Ray Hunter
New Member
Registered: 2019-07-04
Posts: 1

Indoor routing ways and tags


I'm looking to do indoor routing, either using gpRouting or Valhalla or OSRM.

However, all these systems need ways to be defined so there is a routing graph. Can anyone tell me what tags I should use?

I see highway=corridor, indoor=yes mentioned, however it's only a proposed tag. Is that the best way to proceed? I've also seen corridor used to define an area, so maybe this is not the best way to go.

Is it also sensible to use highway=pedestrian with indoor=yes?

Can anyone advise on what I should do. Alternatively a bit of dialogue on the issue would be much appreciated!



#2 2019-07-05 10:43:06

Registered: 2009-01-11
Posts: 460

Re: Indoor routing ways and tags

highway=corridor is pretty much the goto tag AFAIK. I'm afraid I don't know how to handle staircases & lifts (elevators).


#3 2019-07-05 16:04:23

From: Germany
Registered: 2008-06-17
Posts: 2,413

Re: Indoor routing ways and tags

Sadly, I'm not aware of any OSM-based routing engine which already offers proper indoor routing support.

For tagging, I tend to recommend using the Simple Indoor Tagging schema. (With the obligatory disclaimer that I was involved in writing it.) The highway=corridor tag isn't really a fully thought-out solution for indoor mapping in my opinion.

And yes, using SIT would mean that you need to convert polygons into a routing graph. Which isn't that hard, conceptually, but none of the routers you mentioned comes with that feature built-in.


Board footer

Powered by FluxBB