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
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/layers.md
Original file line number Diff line number Diff line change
Expand Up @@ -966,6 +966,7 @@ To resolve inconsistency in data tagging in OpenStreetMap we normalize several o
* `chemist` - A shop selling household chemicals, often including soaps, toothpaste and cosmetics.
* `childcare`
* `childrens_centre`
* `chimney`
* `chiropractor`
* `cinema`
* `clinic` with `kind_detail` property.
Expand Down
17 changes: 15 additions & 2 deletions yaml/pois.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ global:
- landuse: quarry
- leisure: [ dog_park, firepit, fishing, pitch, playground, slipway, swimming_area ]
- lock: yes
- man_made: [ adit, communications_tower, crane, mast, mineshaft, obelisk, observatory,
- man_made: [ adit, communications_tower, chimney, crane, mast, mineshaft, obelisk, observatory,
offshore_platform, petroleum_well, power_wind, telescope, water_tower,
water_well, watermill, windmill ]
- military: bunker
Expand Down Expand Up @@ -1255,7 +1255,20 @@ filters:
case:
- when: {historic: [monument, memorial]}
then: {col: historic}

- filter: {man_made: chimney}
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
output:
<<: *output_properties
kind: chimney
tier: 5

############################################################
# TIER 6
############################################################
Expand Down