kopia lustrzana https://github.com/openmaptiles/openmaptiles
Add subclass of paths in transportation
rodzic
7792b81a02
commit
1f129c4184
|
@ -18,6 +18,9 @@ ramp int, oneway int, brunnel TEXT, service TEXT) AS $$
|
|||
END AS class,
|
||||
CASE
|
||||
WHEN railway IS NOT NULL THEN railway
|
||||
WHEN (highway IS NOT NULL OR public_transport IS NOT NULL)
|
||||
AND highway_class(highway, public_transport) = 'path'
|
||||
THEN COALESCE(NULLIF(public_transport, ''), highway)
|
||||
ELSE NULL
|
||||
END AS subclass,
|
||||
-- All links are considered as ramps as well
|
||||
|
|
|
@ -38,9 +38,11 @@ layer:
|
|||
- ferry
|
||||
subclass:
|
||||
description: |
|
||||
Distinguish more specific railway classes:
|
||||
Distinguish more specific classes of railway and path:
|
||||
Subclass is value of the
|
||||
[`railway`](http://wiki.openstreetmap.org/wiki/Key:railway) tag.
|
||||
[`railway`](http://wiki.openstreetmap.org/wiki/Key:railway),
|
||||
[`highway`](http://wiki.openstreetmap.org/wiki/Key:highway) (for paths), or
|
||||
[`public_transport`](http://wiki.openstreetmap.org/wiki/Key:public_transport) (for platforms) tag.
|
||||
values:
|
||||
- rail
|
||||
- narrow_gauge
|
||||
|
@ -50,6 +52,14 @@ layer:
|
|||
- light_rail
|
||||
- monorail
|
||||
- tram
|
||||
- pedestrian
|
||||
- path
|
||||
- footway
|
||||
- cycleway
|
||||
- steps
|
||||
- bridleway
|
||||
- corridor
|
||||
- platform
|
||||
brunnel:
|
||||
description: |
|
||||
Mark whether way is a tunnel or bridge.
|
||||
|
|
Ładowanie…
Reference in New Issue