Treat buildings with fault heights

3.8 v3.8.1
jirik 2018-06-13 14:51:25 +02:00
rodzic dba6e7025f
commit 68127668d5
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -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;