Fix #250 for zoom 9+ (#256)

This commit is contained in:
Jiri Kozel
2017-05-23 11:11:19 +02:00
committed by GitHub
parent 4037256d43
commit a9b9c79a4b
2 changed files with 4 additions and 2 deletions

View File

@@ -84,6 +84,7 @@ RETURNS TABLE(osm_id bigint, geometry geometry, class text, ramp int, oneway int
z_order
FROM osm_highway_linestring_gen2
WHERE zoom_level BETWEEN 9 AND 10
AND st_length(geometry)>zres(10)
UNION ALL
-- etldoc: osm_highway_linestring_gen1 -> layer_transportation:z11
@@ -95,6 +96,7 @@ RETURNS TABLE(osm_id bigint, geometry geometry, class text, ramp int, oneway int
z_order
FROM osm_highway_linestring_gen1
WHERE zoom_level = 11
AND st_length(geometry)>zres(11)
UNION ALL
-- etldoc: osm_highway_linestring -> layer_transportation:z12