OSRM v5.8.0
The 5.8 release is focused on long overdue memory and disk usage reductions across the board (on the planet roughly: memory 10% decrease, disk 15% decrease). With some minor issues fixed in the guidance engine this release targets stability and benefits on the infrastructure side. Notable additional changes and features are listed below. The full changelog is here.
Give it a try!
osrm-extract berlin.osm.pbf
osrm-partition berlin.osrm
osrm-customize berlin.osrm
osrm-routed --algorithm=MLD berlin.osrm
Infrastructure
- #4096 - Command-line tools (
osrm-extract
,osrm-contract
,osrm-routed
, and others) now return error codes and legible error messages for common problem scenarios. You can find the list of error codes here. - #4036 -
.osrm.nodes
file was renamed to.nbg_nodes
and.ebg_nodes
was added.
Conditional Turn Restrictions
- #3841 - Added conditional restriction support with
parse-conditional-restrictions=true|false
toosrm-extract
. This option saves conditional turn restrictions to the.restrictions
file for parsing later. Addedparse-conditionals-from-now=utc time stamp
and--time-zone-file=/path/to/file
toosrm-contract
.
Profiles
- #4147 - Speed up pre-processing by only running the Lua node function for nodes that have tags (by default, can be changed). Cuts OSM file parsing time in half.
API
- #4039 - Adds an
approaches
parameter to the API. The use-case is to approach a waypoint on the side of the road that deposits or picks up your passenger without needing to cross the road and then continue routing you without issuing a u-turn. Read about it here. - #4134 - Adds a
polyline6
option to the HTTP API for sending coordinates in the request polyline encoded with a precision of 6.