这是indexloc提供的服务,不要输入任何密码
Skip to content

v5.6.0-beta.1

@TheMarex TheMarex tagged this 10 Feb 14:37
Has two known regression around the annotations option:
- #3687
- #3684

Changes from 5.5:

- Bugfixes
  - Fix #3475 removed an invalid `exit` field from the `arrive` maneuver
  - Fix #3515 adjusted number of `nodes` in `annotation`
  - Fix #3605 Fixed a bug that could lead to turns at the end of the road to be suppressed
  - Fix #2844 handle up to 16777215 code units in OSM names
- Infrastructure
  - Support building rpm packages.
- Guidance
  - No longer emitting turns on ferries, if a ferry should use multiple docking locations
- Profiles
  - Removed the `./profile.lua -> ./profiles/car.lua` symlink. Use specific profiles from the `profiles` directory.
  - `properties` object has a new `weight_name` field, default value is "duration"
  - `properties` object has a new `weight_precision` field that specifies a decimal precision of edge weights, default value 1
  - In `way_function` the filed `forward_rate` and `backward_rate` of `ExtractionWay` can now be set.
    They have the same interpretation for the way weight as `forward_speed` and `backward_speed` for the edge duration.
    The unit of rate is meters per weight unit, so higher values will be prefered during routing.
  - `turn_function` now does not return an integer but takes in a `ExtractionTurn` object and can modify the `weight` and `duration` fields
  - `segment_function` now takes in a `ExtractionSegment` object and can modify `weight` and `duration` fields
  - `properties.uturn_penalty` is deprecated. Set it in the `turn_function`. The turn type is exposed as `ExtractionTurn::direction_modifier`.
  - `properties.traffic_light_penalty` is deprecated. Traffic light penalties now need to be set over in the turn function.
     Each turn with a traffic light is marked with `ExtractionTurn::has_traffic_light = true`.
  - Renamed the helper file `profiles/lib/directional.lua` to `profiles/lib/tags.lua` since it now provides more general tags parsing utility functions.
  - The car and foot profiles now depend on the helper file `profiles/lib/handlers.lua`.
- Infrastructure
  - Disabled link-time optimized (LTO) builds by default. Enable by passing `-DENABLE_LTO=ON` to `cmake` if you need the performance and know what you are doing.
  - Datafile versioning is now based on OSRM semver values, rather than source code checksums.
    Datafiles are compatible between patch levels, but incompatible between minor version or higher bumps.
  - libOSRM now creates an own watcher thread then used in shared memory mode to listen for data updates
- Tools:
  - Added osrm-extract-conditionals tool for checking conditional values in OSM data
- Trip Plugin
  - Added a new feature that finds the optimal route given a list of waypoints, a source and a destination.
    This does not return a roundtrip and instead returns a one way optimal route from the fixed source to the destination points.
Assets 2
Loading