kopia lustrzana https://github.com/openmaptiles/openmaptiles
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
rodzic
5e51627895
commit
337f81284d
|
@ -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
|
||||
|
|
|
@ -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 |
|
@ -51,6 +51,8 @@ layer:
|
|||
highway: raceway
|
||||
busway:
|
||||
highway: busway
|
||||
bus_guideway:
|
||||
highway: bus_guideway
|
||||
motorway_construction:
|
||||
__AND__:
|
||||
highway: construction
|
||||
|
|
|
@ -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 |
Ładowanie…
Reference in New Issue