Switch to ZRes (#214)

This commit is contained in:
stirringhalo
2017-04-25 18:03:29 -04:00
committed by GitHub
parent 004a6f9eea
commit 90690d2a39
14 changed files with 96 additions and 88 deletions

View File

@@ -54,7 +54,7 @@ RETURNS TABLE(geometry geometry, osm_id bigint, render_height int, render_min_he
osm_id, geometry,
NULL::int AS render_height, NULL::int AS render_min_height
FROM osm_building_polygon_gen1
WHERE zoom_level = 13 AND geometry && bbox AND area > 1400
WHERE zoom_level = 13 AND geometry && bbox
UNION ALL
-- etldoc: osm_building_polygon -> layer_building:z14_
SELECT DISTINCT ON (osm_id)