Skip to content

Commit

Permalink
Merge pull request #620 from mapzen/drop-mz_is_building
Browse files Browse the repository at this point in the history
Drop mz_is_building property from landuse layer
  • Loading branch information
rmarianski committed Mar 18, 2016
2 parents 0cad60a + 15bbea2 commit 04bfad7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions queries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,11 @@ post_process:
start_zoom: 13
where: >-
properties.get('mz_is_building') is True
- fn: TileStache.Goodies.VecTiles.transform.drop_properties
params:
source_layer: landuse
start_zoom: 13
properties: [mz_is_building]
- fn: TileStache.Goodies.VecTiles.transform.merge_duplicate_stations
params:
source_layer: pois
Expand Down
4 changes: 4 additions & 0 deletions test/333-mz_is_building.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
with features_in_tile_layer(16, 10470, 25342, 'landuse') as features:
for feature in features:
props = feature['properties']
assert 'mz_is_building' not in props, 'mz_is_building detected'

0 comments on commit 04bfad7

Please sign in to comment.