From 73f106cb1a1e56d1d47c7ff8c0ef1afcfa30b67f Mon Sep 17 00:00:00 2001 From: Konstantin Pastbin Date: Mon, 13 May 2024 16:05:00 +0300 Subject: [PATCH] [classif] Move low use highway=road to a higher ID Signed-off-by: Konstantin Pastbin --- data/mapcss-mapping.csv | 6 +++--- routing_common/vehicle_model.hpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data/mapcss-mapping.csv b/data/mapcss-mapping.csv index 8788a41ba9..b29dd41606 100644 --- a/data/mapcss-mapping.csv +++ b/data/mapcss-mapping.csv @@ -93,8 +93,7 @@ highway|primary;27; railway|rail;28; highway|service|parking_aisle;[highway=service][service=parking_aisle];;name;int_name;29; place|hamlet;30; -# TODO: 50k usages, move -highway|road;31; +moved:highway|road:05.2024;31;highway|road deprecated:highway|track|grade2:04.2024;[highway=track][tracktype=grade2];x;name;int_name;32;highway|track natural|wetland;33; deprecated:highway|track|grade3:04.4024;[highway=track][tracktype=grade3];x;name;int_name;34;highway|track @@ -515,7 +514,8 @@ highway|living_street|bridge;[highway=living_street][bridge?];;name;int_name;407 leisure|track|area;[leisure=track][area?];;name;int_name;408; railway|monorail;409; railway|rail|highspeed;[railway=rail][highspeed?][!service];;name;int_name;410; -deprecated|deprecated;411;x +# ~50k usages; ID hardcoded in vehicle_model.hpp. +highway|road;411; leisure|park|private;[leisure=park][access=private];;name;int_name;412; healthcare|physiotherapist;413; noexit;[noexit?];;name;int_name;414; diff --git a/routing_common/vehicle_model.hpp b/routing_common/vehicle_model.hpp index f72db6529f..c659c1a2b8 100644 --- a/routing_common/vehicle_model.hpp +++ b/routing_common/vehicle_model.hpp @@ -39,7 +39,7 @@ enum class HighwayType : uint16_t HighwaySecondary = 12, HighwayPath = 15, HighwayPrimary = 26, - HighwayRoad = 30, + HighwayRoad = 410, HighwayCycleway = 36, HighwayMotorwayLink = 43, HighwayLivingStreet = 54,