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.
pull/1408/head^2
Clay Smalley 2022-07-26 09:26:57 -04:00 zatwierdzone przez GitHub
rodzic 5e51627895
commit 337f81284d
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
6 zmienionych plików z 7 dodań i 4 usunięć

Wyświetl plik

@ -67,7 +67,7 @@ SELECT CASE
'motorway', 'trunk', 'primary', 'secondary', 'tertiary', 'raceway',
'motorway_construction', 'trunk_construction', 'primary_construction',
'secondary_construction', 'tertiary_construction', 'raceway_construction',
'busway'
'busway', 'bus_guideway'
) THEN TRUE --includes ramps
ELSE FALSE
END

Wyświetl plik

@ -45,7 +45,7 @@ generalized_tables:
# etldoc: osm_highway_linestring -> osm_highway_linestring_gen_z11
highway_linestring_gen_z11:
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
name_field: &name
@ -238,6 +238,7 @@ tables:
- track
- raceway
- busway
- bus_guideway
- construction
public_transport:
- platform

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 157 KiB

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 159 KiB

Wyświetl plik

@ -51,6 +51,8 @@ layer:
highway: raceway
busway:
highway: busway
bus_guideway:
highway: bus_guideway
motorway_construction:
__AND__:
highway: construction

Wyświetl plik

@ -165,8 +165,8 @@ BEGIN
layer
FROM osm_transportation_merge_linestring_gen_z11
WHERE (update_id IS NULL OR id = update_id)
AND highway NOT IN ('tertiary', 'tertiary_link', 'busway')
AND construction NOT IN ('tertiary', 'tertiary_link', 'busway')
AND highway NOT IN ('tertiary', 'tertiary_link', 'busway', 'bus_guideway')
AND construction NOT IN ('tertiary', 'tertiary_link', 'busway', 'bus_guideway')
;
DELETE FROM osm_transportation_merge_linestring_gen_z9

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 157 KiB

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 159 KiB