Skip to content
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 zoom bicycle, theatre, water tower #1758

Merged

Conversation

zerebubuth
Copy link
Member

Modify the min_zoom of bicycle shops and theatres based on area, and water towers based on height.

Notes:

  1. I swapped the z15/16 examples for bicycle shops, as SF Bike Connection is larger than American Cyclery Too.
  2. I used a different example for a short water tower with a height. Your example had a height of 9m, but I thought it would provide better test coverage to have one in the 10-20m range.

Connects to #1627.

@zerebubuth zerebubuth requested a review from nvkelso December 28, 2018 11:33
Copy link
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.

LGTM

'id': 260354461,
'kind': 'bicycle',
# should be in z15 tile, so min_zoom between 15 and 16
'min_zoom': lambda z: 15 <= z < 16,
Copy link
Member

Choose a reason for hiding this comment

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

👍

z, x, y, 'pois', {
'id': 35115840,
'kind': 'theatre',
'min_zoom': lambda z: 16 <= z < 17,
Copy link
Member

Choose a reason for hiding this comment

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

There's probably more work to do here with respect to building volume or other indicators – as this is one of the more significant theatres in SF. But this is good for now.

@nvkelso nvkelso merged commit 5afade0 into master Dec 28, 2018
@nvkelso nvkelso deleted the zerebubuth/1627-modify-zoom-bicycle-theatre-water-tower branch December 28, 2018 23:34
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