Skip to content

Modify no-name PONI zooms#1727

Merged
zerebubuth merged 3 commits intomasterfrom
zerebubuth/1638-modify-poni-zooms
Dec 13, 2018
Merged

Modify no-name PONI zooms#1727
zerebubuth merged 3 commits intomasterfrom
zerebubuth/1638-modify-poni-zooms

Conversation

@zerebubuth
Copy link
Copy Markdown
Member

Push down min_zoom on some POIs with no names (PONIs).

  • Sports pitches: Drop the min_zoom to 17 if there's no name and the sport is whitelisted.
  • Parking: Nothing to do, we had already changed it independently to zoom 17.
  • Drinking water: Added to PONIs, output only at zoom 18 (not sure there are many named?)
  • Information: Drop min_zoom to 18 if there's no name.
  • Playgrounds: Added to PONIs, drop min_zoom to 18 if there's no name.
  • Toilets: Nothing to do, had already been changed to 18.
  • Traffic signals: Dropped to min_zoom 18 - pretty sure these don't usually get named.
  • Bicycle parking: Dropped to 19 when there's no name.

Connects to #1638.

@zerebubuth zerebubuth requested a review from nvkelso December 12, 2018 19:05
Comment thread 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?
Copy link
Copy Markdown
Member

@nvkelso nvkelso Dec 13, 2018

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

Copy link
Copy Markdown
Member Author

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.

Comment thread yaml/pois.yaml Outdated
# higher zoom.
- filter:
leisure: pitch
sport: [baseball, basketball, football, hockey, soccer, tennis]
Copy link
Copy Markdown
Member

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.

Copy link
Copy Markdown
Member Author

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.

Copy link
Copy Markdown
Member

@nvkelso nvkelso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zerebubuth zerebubuth merged commit 6e6e878 into master Dec 13, 2018
@zerebubuth zerebubuth deleted the zerebubuth/1638-modify-poni-zooms branch December 13, 2018 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants