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

Add chimney to pois #1930

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Add chimney to pois #1930

wants to merge 3 commits into from

Conversation

rwrx
Copy link
Contributor

@rwrx rwrx commented Sep 30, 2019

Add chimney to pois

@nvkelso
Copy link
Member

nvkelso commented Sep 30, 2019

See also:

@nvkelso
Copy link
Member

nvkelso commented Sep 30, 2019

These and the other PRs need to have tests added.

@rwrx
Copy link
Contributor Author

rwrx commented Oct 1, 2019

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
Copy link
Member

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

Copy link
Contributor Author

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 nvkelso added this to the v1.9.0 milestone Nov 11, 2019
@rwrx rwrx mentioned this pull request Mar 21, 2022
@rwrx
Copy link
Contributor Author

rwrx commented Mar 23, 2022

@nvkelso I am not sure about the tests you mentioned. Should I copy these tests you mentioned? Thank you.

@nvkelso nvkelso modified the milestones: v1.9.0, v2.0.0 Apr 29, 2022
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.

None yet

2 participants