parent
4037256d43
commit
a9b9c79a4b
@ -84,6 +84,7 @@ RETURNS TABLE(osm_id bigint, geometry geometry, class text, ramp int, oneway int
|
|||||||
z_order
|
z_order
|
||||||
FROM osm_highway_linestring_gen2
|
FROM osm_highway_linestring_gen2
|
||||||
WHERE zoom_level BETWEEN 9 AND 10
|
WHERE zoom_level BETWEEN 9 AND 10
|
||||||
|
AND st_length(geometry)>zres(10)
|
||||||
UNION ALL
|
UNION ALL
|
||||||
|
|
||||||
-- etldoc: osm_highway_linestring_gen1 -> layer_transportation:z11
|
-- 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
|
z_order
|
||||||
FROM osm_highway_linestring_gen1
|
FROM osm_highway_linestring_gen1
|
||||||
WHERE zoom_level = 11
|
WHERE zoom_level = 11
|
||||||
|
AND st_length(geometry)>zres(11)
|
||||||
UNION ALL
|
UNION ALL
|
||||||
|
|
||||||
-- etldoc: osm_highway_linestring -> layer_transportation:z12
|
-- etldoc: osm_highway_linestring -> layer_transportation:z12
|
||||||
|
|||||||
@ -13,13 +13,13 @@ generalized_tables:
|
|||||||
# etldoc: imposm3 -> osm_highway_linestring_gen2
|
# etldoc: imposm3 -> osm_highway_linestring_gen2
|
||||||
highway_linestring_gen2:
|
highway_linestring_gen2:
|
||||||
source: highway_linestring_gen1
|
source: highway_linestring_gen1
|
||||||
sql_filter: highway IN ('motorway','trunk', 'primary', 'secondary') AND NOT is_area
|
sql_filter: highway IN ('motorway', 'trunk', 'primary', 'secondary', 'motorway_link', 'trunk_link', 'primary_link', 'secondary_link') AND NOT is_area
|
||||||
tolerance: ZRES10
|
tolerance: ZRES10
|
||||||
|
|
||||||
# etldoc: imposm3 -> osm_highway_linestring_gen1
|
# etldoc: imposm3 -> osm_highway_linestring_gen1
|
||||||
highway_linestring_gen1:
|
highway_linestring_gen1:
|
||||||
source: highway_linestring
|
source: highway_linestring
|
||||||
sql_filter: highway IN ('motorway','trunk', 'primary', 'secondary', 'tertiary') AND NOT is_area
|
sql_filter: highway IN ('motorway', 'trunk', 'primary', 'secondary', 'tertiary', 'motorway_link', 'trunk_link', 'primary_link', 'secondary_link', 'tertiary_link') AND NOT is_area
|
||||||
tolerance: ZRES11
|
tolerance: ZRES11
|
||||||
|
|
||||||
name_field: &name
|
name_field: &name
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user