-
-
Notifications
You must be signed in to change notification settings - Fork 855
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[classif] Move low use highway=road to a higher ID #8181
Conversation
@@ -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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is 05.2024 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
date when it was moved/deprecated
so that we know when its OK to re-use it
@@ -54,7 +54,7 @@ enum class HighwayType : uint16_t | |||
HighwaySecondaryLink = 176, | |||
RouteFerry = 259, | |||
HighwayTertiaryLink = 272, | |||
HighwayBusway = 858, // reserve type here, but this type is not used for any routing by default | |||
HighwayBusway = 857, // reserve type here, but this type is not used for any routing by default |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why? I don't see changes in types.txt here.
Can we make a test for these constants, not to break something in future? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its just wrong, it should be a mapping ID - 1, so atm the hardcoded 858 points to highway-busway-bridge
highway|busway;[highway=busway],[highway=service][service=busway],[highway=service][service=bus];;name;int_name;858;
highway|busway|bridge;[highway=busway][bridge?];;name;int_name;859;
Add it please! |
@vng merge it as is? |
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
bbfc0d4
to
f19401f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test looks good!
Following #8168
Also fixes wrong hardcoded ID for highway=busway.