2016-10-24 07:40:14 +00:00
|
|
|
layer:
|
|
|
|
id: "waterway"
|
|
|
|
description: |
|
2017-01-05 15:26:40 +00:00
|
|
|
OpenStreetMap [waterways](http://wiki.openstreetmap.org/wiki/Waterways) for higher zoom levels
|
|
|
|
and Natural Earth rivers and lake centerlines for low zoom levels.
|
2016-11-29 15:08:23 +00:00
|
|
|
Linestrings without a name or which are too short are filtered
|
|
|
|
out at low zoom levels. Waterways do no not have a `subclass` field.
|
2016-10-24 07:40:14 +00:00
|
|
|
buffer_size: 4
|
2016-10-29 13:16:21 +00:00
|
|
|
fields:
|
2016-11-29 15:08:23 +00:00
|
|
|
name: |
|
|
|
|
The OSM [`name`](http://wiki.openstreetmap.org/wiki/Key:name) value of the waterway.
|
2017-01-05 15:26:40 +00:00
|
|
|
The `name` field may be empty for NaturalEarth data or at lower zoom levels.
|
|
|
|
class:
|
|
|
|
description: |
|
2016-10-29 13:16:21 +00:00
|
|
|
The original value of the [`waterway`](http://wiki.openstreetmap.org/wiki/Key:waterway) tag.
|
2017-01-05 15:26:40 +00:00
|
|
|
values:
|
|
|
|
- stream
|
|
|
|
- river
|
|
|
|
- canal
|
|
|
|
- drain
|
|
|
|
- ditch
|
2016-10-24 07:40:14 +00:00
|
|
|
datasource:
|
2016-10-24 13:38:32 +00:00
|
|
|
geometry_field: geometry
|
2016-11-15 18:37:19 +00:00
|
|
|
query: (SELECT geometry, name, class FROM layer_waterway(!bbox!, z(!scale_denominator!))) AS t
|
2016-10-24 07:40:14 +00:00
|
|
|
schema:
|
2016-11-15 18:37:19 +00:00
|
|
|
- ./merge_waterway.sql
|
2016-10-24 07:40:14 +00:00
|
|
|
- ./waterway.sql
|
|
|
|
datasources:
|
|
|
|
- type: imposm3
|
|
|
|
mapping_file: ./mapping.yaml
|