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