Show OSM highways earlier
This commit is contained in:
parent
35b6951c81
commit
453d64ba17
@ -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,
|
FALSE AS is_bridge, FALSE AS is_tunnel, FALSE AS is_ford, FALSE AS is_ramp, FALSE AS is_oneway,
|
||||||
0 AS z_order
|
0 AS z_order
|
||||||
FROM ne_10m_global_roads
|
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
|
UNION ALL
|
||||||
|
|
||||||
-- etldoc: osm_transportation_linestring_gen4 -> layer_transportation:z8
|
-- 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
|
SELECT osm_id, geometry, highway, is_bridge, is_tunnel, is_ford, is_ramp, is_oneway, z_order
|
||||||
FROM osm_transportation_linestring_gen4
|
FROM osm_transportation_linestring_gen4
|
||||||
WHERE zoom_level = 8
|
WHERE zoom_level BETWEEN 7 AND 8
|
||||||
UNION ALL
|
UNION ALL
|
||||||
|
|
||||||
-- etldoc: osm_transportation_linestring_gen3 -> layer_transportation:z9
|
-- etldoc: osm_transportation_linestring_gen3 -> layer_transportation:z9
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user