Change traffic CSV field value from weight to rate
and make the value required. If the weight name is 'duration' than the rate value can be computed as speed / 3.6 Issue: https://github.com/Project-OSRM/osrm-backend/issues/3823
This commit is contained in:
committed by
Patrick Niklaus
parent
a88fef2937
commit
37794a5e8a
@@ -11,7 +11,7 @@ BOOST_FUSION_ADAPT_STRUCT(osrm::updater::Segment,
|
||||
(decltype(osrm::updater::Segment::to), to))
|
||||
BOOST_FUSION_ADAPT_STRUCT(osrm::updater::SpeedSource,
|
||||
(decltype(osrm::updater::SpeedSource::speed), speed)
|
||||
(decltype(osrm::updater::SpeedSource::weight), weight))
|
||||
(decltype(osrm::updater::SpeedSource::rate), rate))
|
||||
BOOST_FUSION_ADAPT_STRUCT(osrm::updater::Turn,
|
||||
(decltype(osrm::updater::Turn::from), from)
|
||||
(decltype(osrm::updater::Turn::via), via)
|
||||
|
||||
Reference in New Issue
Block a user