OSM2Routing utility converts the OSM file into a mapmatching/routing-friendly format.
It extracts defined road types from the OSM map and splits them at crossroads.
Usage
osm2routing [OPTIONS]+
Options:
--osm=VALUE path to the OSM file (required)
-c, --config=VALUE path to the config file (required)
-o, --output=VALUE path to the output file (required)
-h, -?, --help
Config file defines accepted road types (OSM ways with specific tags) and their parameters.
Ways, that don't match accepted road types, relations and unused nodes are discarded. Values of oneway and maxspeed tags from the OSM file take precedence over default values from the config file.
OSM2Routing reguires .NET framework runtime or MONO runtime installed on the computer.