diff --git a/layers/transportation/etl_diagram.png b/layers/transportation/etl_diagram.png index e4a703a..338152e 100644 Binary files a/layers/transportation/etl_diagram.png and b/layers/transportation/etl_diagram.png differ diff --git a/layers/transportation/layer.sql b/layers/transportation/layer.sql index 504ba57..696a819 100644 --- a/layers/transportation/layer.sql +++ b/layers/transportation/layer.sql @@ -4,7 +4,7 @@ $$ LANGUAGE SQL IMMUTABLE STRICT; -- etldoc: layer_transportation[shape=record fillcolor=lightpink, style="rounded,filled", --- etldoc: label=" layer_transportation | z4 | z5 | z6 | z7 | z8 | z9-z10 | z11 | z12| z13| z14+" ] ; +-- etldoc: label=" layer_transportation | z4 | z5 | z6 | z7 | z8 | z9 | z10 | z11 | z12| z13| z14+" ] ; CREATE OR REPLACE FUNCTION layer_transportation(bbox geometry, zoom_level int) RETURNS TABLE(osm_id bigint, geometry geometry, class text, ramp int, oneway int, brunnel TEXT, service TEXT) AS $$ SELECT @@ -75,7 +75,8 @@ RETURNS TABLE(osm_id bigint, geometry geometry, class text, ramp int, oneway int WHERE zoom_level = 8 UNION ALL - -- etldoc: osm_highway_linestring_gen2 -> layer_transportation:z9z10 + -- etldoc: osm_highway_linestring_gen2 -> layer_transportation:z9 + -- etldoc: osm_highway_linestring_gen2 -> layer_transportation:z10 SELECT osm_id, geometry, highway, NULL AS railway, NULL AS service, NULL::boolean AS is_bridge, NULL::boolean AS is_tunnel,