-
Notifications
You must be signed in to change notification settings - Fork 120
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
Modify no-name PONI zooms #1727
Conversation
Push down min_zoom on some POIs with no names (PONIs).
yaml/pois.yaml
Outdated
not: | ||
fee: ['no', 'Free', 'free', '0', 'No', 'none'] | ||
then: true | ||
# TODO tests expect this to be false and not omitted, is that what we want? |
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.
yes - oh, this is copy-paste of old TODO, let's just remove it
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.
Sounds good. Removed in 5265c9d.
yaml/pois.yaml
Outdated
# higher zoom. | ||
- filter: | ||
leisure: pitch | ||
sport: [baseball, basketball, football, hockey, soccer, tennis] |
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 kind_detail were only listed in the example because that's what we have icons for... but I don't think that needs to be limited in the data like this. I'd remove this line and change the comment above.
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.
OK, removed the filter and adjusted tests in 5265c9d.
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.
One modification for https://github.com/tilezen/vector-datasource/pull/1727/files#r241259829 and then good to merge.
Push down min_zoom on some POIs with no names (PONIs).
min_zoom
to 17 if there's no name and the sport is whitelisted.min_zoom
to 18 if there's no name.min_zoom
to 18 if there's no name.min_zoom
18 - pretty sure these don't usually get named.Connects to #1638.