v5.8.0
版本发布时间: 2017-06-21 15:56:01
Project-OSRM/osrm-backend最新发布版本:v5.27.1(2022-10-15 00:25:38)
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
-
https://github.com/Project-OSRM/osrm-backend/pull/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. -
https://github.com/Project-OSRM/osrm-backend/pull/4036 -
.osrm.nodes
file was renamed to.nbg_nodes
and.ebg_nodes
was added.
Conditional Turn Restrictions
-
https://github.com/Project-OSRM/osrm-backend/pull/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
- https://github.com/Project-OSRM/osrm-backend/pull/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
-
https://github.com/Project-OSRM/osrm-backend/pull/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. -
https://github.com/Project-OSRM/osrm-backend/pull/4134 - Adds a
polyline6
option to the HTTP API for sending coordinates in the request polyline encoded with a precision of 6.