Suppress rendering of underground buildings (#1241)

This PR does the following:
1. Suppresses underground buildings from rendering, when such buildings are tagged `location=underground`.  Based on the wiki documentation, the `layer` tag does not determine whether a feature is above of below ground.
2. Unifies the building and building relation imposm exclusion mappings.

The following underground building feature in Luxembourg is used as the test object:
https://www.openstreetmap.org/way/582873794
This commit is contained in:
Brian Sperlongano 2021-10-28 07:09:06 -04:00 committed by GitHub
parent 15eb75539d
commit 5833e8ce6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -60,11 +60,14 @@ tables:
aeroway: aeroway:
- terminal - terminal
- hangar - hangar
location:
- underground
filters: filters:
reject: reject:
building: ["no","none","No"] building: ["no","none","No"]
building:part: ["no","none","No"] building:part: ["no","none","No"]
man_made: ["bridge"] man_made: ["bridge"]
location: ["underground"]
type: polygon type: polygon
# etldoc: imposm3 -> osm_building_relation # etldoc: imposm3 -> osm_building_relation
@ -157,4 +160,4 @@ tables:
type: member_type type: member_type
mapping: mapping:
type: [building] type: [building]
type: relation_member type: relation_member

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 28 KiB