This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

which OSM attributes are used for routing? (OSRM)

0

I'm trying to use OSRM on my own map data (in OSM format)

I'm wondering which of the ~66k OSM attributes are relevant for this, and which are ignored by OSRM.

Is there a reference someone can point me to?

asked 26 Jun '17, 13:14

dotanrs's gravatar image

dotanrs
16113
accept rate: 0%


2 Answers:

4

answered 27 Jun '17, 07:00

Jochen%20Topf's gravatar image

Jochen Topf
5.2k55074
accept rate: 31%

3

OSRM will use the tags specified in the profile that you pass to osrm-extract. The size of the predefined profiles, like car.lua sort of limits the usefulness of this answer, but the most important keys for routing are highway=* and access=*. You can see that lots of other tags are also accounted for, but those are by far the most important ones.

answered 26 Jun '17, 19:17

maxerickson's gravatar image

maxerickson
12.7k1083176
accept rate: 32%

2

and oneway and turn restrictions ?

(27 Jun '17, 04:10) escada

And other tags listet at https://wiki.openstreetmap.org/wiki/OSM_tags_for_routing and https://wiki.openstreetmap.org/wiki/Routing#Routing_considerations. However these lists are incomplete and partly outdated.

(27 Jun '17, 08:53) scai ♦

Source code available on GitHub .