-
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
Add chimney to pois #1930
base: master
Are you sure you want to change the base?
Add chimney to pois #1930
Conversation
See also: |
These and the other PRs need to have tests added. |
I have added chimney to docs. I would also create some tests but from looking into actual tests I am not sure how to do this. For example this is one chimney: https://www.openstreetmap.org/way/264214092. |
yaml/pois.yaml
Outdated
@@ -2640,6 +2640,11 @@ filters: | |||
- shiploader | |||
- tower_crane | |||
then: {col: "crane:type"} | |||
- filter: {man_made: chimney} | |||
min_zoom: 14 |
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.
Please vary the min_zoom, like with like for obelisk:
- filter: {man_made: obelisk}
min_zoom:
lookup:
key: { call: { func: mz_to_float_meters, args: [ { col: height } ] } }
op: '>='
table:
- [ 14, 20 ] # z14 if height >= 20m
- [ 15, 10 ] # z15 if height >= 10m
default: 16
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, I have changed it as is in Obelisk.
@nvkelso I am not sure about the tests you mentioned. Should I copy these tests you mentioned? Thank you. |
Add chimney to pois