From 68127668d5757e0200fb246d654d1083bc89d724 Mon Sep 17 00:00:00 2001 From: jirik Date: Wed, 13 Jun 2018 14:51:25 +0200 Subject: [PATCH] Treat buildings with fault heights --- layers/building/building.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/layers/building/building.sql b/layers/building/building.sql index e2709310..53902b11 100644 --- a/layers/building/building.sql +++ b/layers/building/building.sql @@ -90,6 +90,9 @@ RETURNS TABLE(geometry geometry, osm_id bigint, render_height int, render_min_he osm_all_buildings WHERE (levels IS NULL OR levels < 1000) AND + (min_level IS NULL OR min_level < 1000) AND + (height IS NULL OR height < 3000) AND + (min_height IS NULL OR min_height < 3000) AND zoom_level >= 14 AND geometry && bbox ) AS zoom_levels ORDER BY render_height ASC, ST_YMin(geometry) DESC;