Do OSM files need specific or all tags/columns to be readable by ORS?

Hi ORS team and community,

I have a simple question about OSM data preprocessing for ORS:

I’m preparing OSM files for ORS routing. One file contains all original OSM tags (full attribute set), while another has fewer columns (simplified/filtered). The one with all tags is accepted by ORS for building a graph, the other one not.

**Can ORS build a routing graph from an OSM file that has fewer tags than the original, or are specific tags or even all required?
**
Thanks in advance for clarifying!

Best regards,

NoLou

Hi NoLou,

Thanks for reaching out! :heart:

You can find an overview of the most important tags taken into account when resolving access to OSM ways at Tag Filtering | openrouteservice backend documentation. Please note that this is unfortunately not a complete list. For example, node tags such as barrier are important as well.

You might want to have a look at the osm-transform tool. It is used to preprocess graphs for the public ORS API. In practice, it reduces the file to about 30% of its original size.

Cheers,
Andrzej