Changelog
5.6.0
exit
field from the arrive
maneuvernodes
in annotation
./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 1way_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
fieldssegment_function
now takes in a ExtractionSegment
object and can modify weight
and duration
fieldsproperties.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
.profiles/lib/directional.lua
to profiles/lib/tags.lua
since it now provides more general tags parsing utility functions.profiles/lib/handlers.lua
.-DENABLE_LTO=ON
to cmake
if you need the performance and know what you are doing.