From 453d64ba1738244c9abd99956d911e7099f67bae Mon Sep 17 00:00:00 2001 From: Lukas Martinelli Date: Sat, 26 Nov 2016 20:25:25 +0000 Subject: [PATCH] Show OSM highways earlier --- layers/transportation/highway.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layers/transportation/highway.sql b/layers/transportation/highway.sql index fa10c6a..a95fbf3 100644 --- a/layers/transportation/highway.sql +++ b/layers/transportation/highway.sql @@ -19,13 +19,13 @@ RETURNS TABLE(osm_id bigint, geometry geometry, class highway_class, subclass te FALSE AS is_bridge, FALSE AS is_tunnel, FALSE AS is_ford, FALSE AS is_ramp, FALSE AS is_oneway, 0 AS z_order FROM ne_10m_global_roads - WHERE zoom_level BETWEEN 4 AND 7 AND scalerank <= 1 + zoom_level + WHERE zoom_level BETWEEN 4 AND 6 AND scalerank <= 1 + zoom_level UNION ALL -- etldoc: osm_transportation_linestring_gen4 -> layer_transportation:z8 SELECT osm_id, geometry, highway, is_bridge, is_tunnel, is_ford, is_ramp, is_oneway, z_order FROM osm_transportation_linestring_gen4 - WHERE zoom_level = 8 + WHERE zoom_level BETWEEN 7 AND 8 UNION ALL -- etldoc: osm_transportation_linestring_gen3 -> layer_transportation:z9