2016-10-10 18:17:05 +00:00
|
|
|
layer:
|
2016-11-26 20:19:43 +00:00
|
|
|
id: "transportation"
|
2016-10-10 18:17:05 +00:00
|
|
|
description: |
|
2017-09-25 11:12:19 +00:00
|
|
|
**transportation** contains roads, railways, aerial ways, and shipping
|
|
|
|
lines.
|
2016-12-02 12:36:10 +00:00
|
|
|
This layer is directly derived from the OSM road hierarchy.
|
2017-01-05 15:40:37 +00:00
|
|
|
At lower zoom levels major highways from Natural Earth are used.
|
2016-12-02 12:36:10 +00:00
|
|
|
It contains all roads from motorways to primary, secondary and
|
|
|
|
tertiary roads to residential roads and
|
|
|
|
foot paths. Styling the roads is the most essential part of the map.
|
2017-01-05 15:40:37 +00:00
|
|
|
The `transportation` layer also contains polygons for features like plazas.
|
2016-10-10 18:17:05 +00:00
|
|
|
buffer_size: 4
|
|
|
|
srs: +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over
|
|
|
|
fields:
|
2016-11-30 12:57:25 +00:00
|
|
|
class:
|
|
|
|
description: |
|
2019-10-04 12:19:56 +00:00
|
|
|
Distinguish between more and less important roads or railways and roads under construction.
|
2016-12-02 12:36:10 +00:00
|
|
|
Class is derived from the value of the
|
2017-09-22 12:41:18 +00:00
|
|
|
[`highway`](http://wiki.openstreetmap.org/wiki/Key:highway),
|
2019-10-04 12:19:56 +00:00
|
|
|
[`construction`](http://wiki.openstreetmap.org/wiki/Key:construction),
|
2017-09-25 11:12:19 +00:00
|
|
|
[`railway`](http://wiki.openstreetmap.org/wiki/Key:railway),
|
2018-11-07 13:57:01 +00:00
|
|
|
[`aerialway`](http://wiki.openstreetmap.org/wiki/Key:aerialway),
|
2017-09-25 11:12:19 +00:00
|
|
|
[`route`](http://wiki.openstreetmap.org/wiki/Key:route) tag (for
|
2018-11-07 13:57:01 +00:00
|
|
|
shipping ways), or
|
|
|
|
[`man_made`](http://wiki.openstreetmap.org/wiki/Key:route).
|
2016-11-30 12:57:25 +00:00
|
|
|
values:
|
2019-10-26 08:28:51 +00:00
|
|
|
motorway:
|
|
|
|
highway: ['motorway', 'motorway_link']
|
|
|
|
trunk:
|
|
|
|
highway: ['trunk', 'trunk_link']
|
|
|
|
primary:
|
|
|
|
highway: ['primary', 'primary_link']
|
|
|
|
secondary:
|
|
|
|
highway: ['secondary', 'secondary_link']
|
|
|
|
tertiary:
|
|
|
|
highway: ['tertiary', 'tertiary_link']
|
|
|
|
minor:
|
|
|
|
highway: ['unclassified', 'residential', 'living_street', 'road']
|
|
|
|
path:
|
|
|
|
highway: ['pedestrian', 'path', 'footway', 'cycleway', 'steps', 'bridleway', 'corridor']
|
|
|
|
public_transport: 'platform'
|
|
|
|
service:
|
|
|
|
highway: service
|
|
|
|
track:
|
|
|
|
highway: track
|
|
|
|
raceway:
|
|
|
|
highway: raceway
|
|
|
|
motorway_construction:
|
|
|
|
trunk_construction:
|
|
|
|
primary_construction:
|
|
|
|
secondary_construction:
|
|
|
|
tertiary_construction:
|
|
|
|
minor_construction:
|
|
|
|
path_construction:
|
|
|
|
service_construction:
|
|
|
|
track_construction:
|
|
|
|
raceway_construction:
|
2017-09-21 18:08:29 +00:00
|
|
|
subclass:
|
|
|
|
description: |
|
2017-11-08 15:57:28 +00:00
|
|
|
Distinguish more specific classes of railway and path:
|
2017-09-21 18:08:29 +00:00
|
|
|
Subclass is value of the
|
2017-11-08 15:57:28 +00:00
|
|
|
[`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.
|
2017-09-21 18:08:29 +00:00
|
|
|
values:
|
|
|
|
- rail
|
|
|
|
- narrow_gauge
|
|
|
|
- preserved
|
|
|
|
- funicular
|
|
|
|
- subway
|
|
|
|
- light_rail
|
|
|
|
- monorail
|
|
|
|
- tram
|
2017-11-08 15:57:28 +00:00
|
|
|
- pedestrian
|
|
|
|
- path
|
|
|
|
- footway
|
|
|
|
- cycleway
|
|
|
|
- steps
|
|
|
|
- bridleway
|
|
|
|
- corridor
|
|
|
|
- platform
|
2016-11-30 12:57:25 +00:00
|
|
|
brunnel:
|
|
|
|
description: |
|
|
|
|
Mark whether way is a tunnel or bridge.
|
|
|
|
values:
|
|
|
|
- bridge
|
|
|
|
- tunnel
|
|
|
|
- ford
|
|
|
|
oneway:
|
|
|
|
description: |
|
2017-12-29 13:22:25 +00:00
|
|
|
Mark with `1` whether way is a oneway in the direction of the way,
|
|
|
|
with `-1` whether way is a oneway in the opposite direction of the way
|
|
|
|
or not a oneway with `0`.
|
|
|
|
values: [0, 1, -1]
|
2016-11-30 12:57:25 +00:00
|
|
|
ramp:
|
|
|
|
description: |
|
|
|
|
Mark with `1` whether way is a ramp (link or steps)
|
|
|
|
or not with `0`.
|
|
|
|
values: [0, 1]
|
|
|
|
service:
|
|
|
|
description: |
|
|
|
|
Original value of the [`service`](http://wiki.openstreetmap.org/wiki/Key:service) tag.
|
|
|
|
values:
|
|
|
|
- spur
|
|
|
|
- yard
|
|
|
|
- siding
|
|
|
|
- crossover
|
|
|
|
- driveway
|
|
|
|
- alley
|
|
|
|
- parking_aisle
|
2018-04-27 11:41:32 +00:00
|
|
|
layer:
|
|
|
|
description: |
|
2019-04-07 18:05:00 +00:00
|
|
|
Original value of the [`layer`](http://wiki.openstreetmap.org/wiki/Key:layer) tag.
|
2017-11-09 08:36:09 +00:00
|
|
|
level:
|
|
|
|
description: |
|
|
|
|
Experimental feature! Filled only for steps and footways. Original
|
2019-04-07 18:05:00 +00:00
|
|
|
value of the [`level`](http://wiki.openstreetmap.org/wiki/Key:level) tag.
|
2017-11-09 08:36:09 +00:00
|
|
|
indoor:
|
|
|
|
description: |
|
|
|
|
Experimental feature! Filled only for steps and footways. Original
|
2019-04-07 18:05:00 +00:00
|
|
|
value of the [`indoor`](http://wiki.openstreetmap.org/wiki/Key:indoor) tag.
|
2017-11-09 08:36:09 +00:00
|
|
|
values:
|
|
|
|
- 1
|
2019-04-07 18:05:00 +00:00
|
|
|
bicycle:
|
|
|
|
description: |
|
|
|
|
Original value of the [`bicycle`](http://wiki.openstreetmap.org/wiki/Key:bicycle) tag (highways only).
|
|
|
|
foot:
|
|
|
|
description: |
|
|
|
|
Original value of the [`foot`](http://wiki.openstreetmap.org/wiki/Key:foot) tag (highways only).
|
2019-11-03 05:36:06 +00:00
|
|
|
horse:
|
2019-04-07 18:05:00 +00:00
|
|
|
description: |
|
2019-11-03 05:36:06 +00:00
|
|
|
Original value of the [`horse`](http://wiki.openstreetmap.org/wiki/Key:horse) tag (highways only).
|
2019-04-07 18:05:00 +00:00
|
|
|
mtb_scale:
|
|
|
|
description: |
|
|
|
|
Original value of the [`mtb:scale`](http://wiki.openstreetmap.org/wiki/Key:mtb:scale) tag (highways only).
|
2019-01-06 11:03:37 +00:00
|
|
|
surface:
|
|
|
|
description: |
|
2019-05-17 12:28:13 +00:00
|
|
|
Values of [`surface`](https://wiki.openstreetmap.org/wiki/Key:surface) tag devided into 2 groups `paved` (paved, asphalt, cobblestone, concrete, concrete:lanes, concrete:plates, metal, paving_stones, sett, unhewn_cobblestone, wood) and `unpaved` (unpaved, compacted, dirt, earth, fine_gravel, grass, grass_paver, gravel, gravel_turf, ground, ice, mud, pebblestone, salt, sand, snow, woodchips).
|
2019-01-06 11:03:37 +00:00
|
|
|
values:
|
|
|
|
- paved
|
|
|
|
- unpaved
|
2016-10-10 18:17:05 +00:00
|
|
|
datasource:
|
2016-10-24 13:14:43 +00:00
|
|
|
geometry_field: geometry
|
2016-10-10 18:17:05 +00:00
|
|
|
srid: 900913
|
2019-10-25 13:09:44 +00:00
|
|
|
query: (SELECT geometry, class, subclass, oneway, ramp, brunnel, service, layer, level, indoor, bicycle, foot, horse, mtb_scale, surface FROM layer_transportation(!bbox!, z(!scale_denominator!))) AS t
|
2016-10-10 18:17:05 +00:00
|
|
|
schema:
|
2016-11-28 10:29:00 +00:00
|
|
|
- ./class.sql
|
2017-07-12 14:06:15 +00:00
|
|
|
- ./update_transportation_merge.sql
|
2016-11-26 20:47:42 +00:00
|
|
|
- ./layer.sql
|
2016-10-10 18:17:05 +00:00
|
|
|
datasources:
|
|
|
|
- type: imposm3
|
|
|
|
mapping_file: ./mapping.yaml
|