Add highway=bus_guideway (#1407)
Guided busways (or bus guideways in OSM terminology) are special roadways along which bus operators can travel smoothly at high speeds without steering. These are tagged highway=bus_guideway on OpenStreetMap. Currently, highway=busway is surfaced in OpenMapTiles as the busway class in the transportation layer, but highway=bus_guideway is not present. These two types of roadways serve generally similar purposes, so it would make sense to have guided busways at the same zoom levels.
This commit is contained in:
parent
5e51627895
commit
337f81284d
@ -67,7 +67,7 @@ SELECT CASE
|
|||||||
'motorway', 'trunk', 'primary', 'secondary', 'tertiary', 'raceway',
|
'motorway', 'trunk', 'primary', 'secondary', 'tertiary', 'raceway',
|
||||||
'motorway_construction', 'trunk_construction', 'primary_construction',
|
'motorway_construction', 'trunk_construction', 'primary_construction',
|
||||||
'secondary_construction', 'tertiary_construction', 'raceway_construction',
|
'secondary_construction', 'tertiary_construction', 'raceway_construction',
|
||||||
'busway'
|
'busway', 'bus_guideway'
|
||||||
) THEN TRUE --includes ramps
|
) THEN TRUE --includes ramps
|
||||||
ELSE FALSE
|
ELSE FALSE
|
||||||
END
|
END
|
||||||
|
|||||||
@ -45,7 +45,7 @@ generalized_tables:
|
|||||||
# etldoc: osm_highway_linestring -> osm_highway_linestring_gen_z11
|
# etldoc: osm_highway_linestring -> osm_highway_linestring_gen_z11
|
||||||
highway_linestring_gen_z11:
|
highway_linestring_gen_z11:
|
||||||
source: highway_linestring
|
source: highway_linestring
|
||||||
sql_filter: (highway IN ('motorway', 'trunk', 'primary', 'secondary', 'tertiary', 'motorway_link', 'trunk_link', 'primary_link', 'secondary_link', 'tertiary_link', 'busway') OR highway = 'construction' AND construction IN ('motorway', 'trunk', 'primary', 'secondary', 'tertiary', 'motorway_link', 'trunk_link', 'primary_link', 'secondary_link', 'tertiary_link', 'busway')) AND NOT is_area AND ST_IsValid(geometry)
|
sql_filter: (highway IN ('motorway', 'trunk', 'primary', 'secondary', 'tertiary', 'motorway_link', 'trunk_link', 'primary_link', 'secondary_link', 'tertiary_link', 'busway', 'bus_guideway') OR highway = 'construction' AND construction IN ('motorway', 'trunk', 'primary', 'secondary', 'tertiary', 'motorway_link', 'trunk_link', 'primary_link', 'secondary_link', 'tertiary_link', 'busway', 'bus_guideway')) AND NOT is_area AND ST_IsValid(geometry)
|
||||||
tolerance: ZRES12
|
tolerance: ZRES12
|
||||||
|
|
||||||
name_field: &name
|
name_field: &name
|
||||||
@ -238,6 +238,7 @@ tables:
|
|||||||
- track
|
- track
|
||||||
- raceway
|
- raceway
|
||||||
- busway
|
- busway
|
||||||
|
- bus_guideway
|
||||||
- construction
|
- construction
|
||||||
public_transport:
|
public_transport:
|
||||||
- platform
|
- platform
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 157 KiB After Width: | Height: | Size: 159 KiB |
@ -51,6 +51,8 @@ layer:
|
|||||||
highway: raceway
|
highway: raceway
|
||||||
busway:
|
busway:
|
||||||
highway: busway
|
highway: busway
|
||||||
|
bus_guideway:
|
||||||
|
highway: bus_guideway
|
||||||
motorway_construction:
|
motorway_construction:
|
||||||
__AND__:
|
__AND__:
|
||||||
highway: construction
|
highway: construction
|
||||||
|
|||||||
@ -165,8 +165,8 @@ BEGIN
|
|||||||
layer
|
layer
|
||||||
FROM osm_transportation_merge_linestring_gen_z11
|
FROM osm_transportation_merge_linestring_gen_z11
|
||||||
WHERE (update_id IS NULL OR id = update_id)
|
WHERE (update_id IS NULL OR id = update_id)
|
||||||
AND highway NOT IN ('tertiary', 'tertiary_link', 'busway')
|
AND highway NOT IN ('tertiary', 'tertiary_link', 'busway', 'bus_guideway')
|
||||||
AND construction NOT IN ('tertiary', 'tertiary_link', 'busway')
|
AND construction NOT IN ('tertiary', 'tertiary_link', 'busway', 'bus_guideway')
|
||||||
;
|
;
|
||||||
|
|
||||||
DELETE FROM osm_transportation_merge_linestring_gen_z9
|
DELETE FROM osm_transportation_merge_linestring_gen_z9
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 157 KiB After Width: | Height: | Size: 159 KiB |
Loading…
x
Reference in New Issue
Block a user