mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-20 10:13:51 +00:00
[routing] Update (again) speed and factor for cars and bikes on tracks
Signed-off-by: lluka <lluka@noreply.codeberg.org>
This commit is contained in:
committed by
Konstantin Pastbin
parent
797cdb487c
commit
ab420c74a7
@@ -171,7 +171,7 @@ VehicleModel::SurfaceInitList const kBicycleSurface = {
|
||||
{{"psurface", "paved_good"}, {1.0, 1.0}},
|
||||
{{"psurface", "paved_bad"}, {0.8, 0.8}},
|
||||
{{"psurface", "unpaved_good"}, {0.9, 0.9}},
|
||||
{{"psurface", "unpaved_bad"}, {0.6, 0.6}},
|
||||
{{"psurface", "unpaved_bad"}, {0.45, 0.45}},
|
||||
// No dedicated cycleway doesn't mean that bicycle is not allowed, just lower weight.
|
||||
// If nocycleway is tagged explicitly then there is no cycling infra for sure.
|
||||
// Otherwise there is a small chance cycling infra is present though not mapped?
|
||||
|
||||
@@ -34,12 +34,13 @@ HighwayBasedFactors const kHighwayBasedFactors = {
|
||||
{HighwayType::HighwayLivingStreet, InOutCityFactor(0.70)},
|
||||
|
||||
// The rest:
|
||||
// By VNG: Changed 0.3 -> 0.95 for Road and 0.3 -> 1.0 for Track.
|
||||
// By VNG: Changed 0.3 -> 0.95 for Road.
|
||||
// They are already have very small speeds (10, 5 respectively).
|
||||
// For tracks, weight is reduced to make them harder to take, but keep the full ETA speed.
|
||||
// There are no (99%) traffic lights or pedestrian crossings on this kind of roads.
|
||||
{HighwayType::HighwayService, InOutCityFactor(0.70)},
|
||||
{HighwayType::HighwayRoad, InOutCityFactor(0.90)},
|
||||
{HighwayType::HighwayTrack, InOutCityFactor(1.0)},
|
||||
{HighwayType::HighwayTrack, InOutCityFactor({0.11, 1.0} /* in city */, {0.11, 1.0} /* out city */)},
|
||||
{HighwayType::ManMadePier, InOutCityFactor(0.90)},
|
||||
|
||||
{HighwayType::RouteFerry, InOutCityFactor(0.90)},
|
||||
|
||||
Reference in New Issue
Block a user