2016-10-09 19:27:09 +00:00
|
|
|
layer:
|
|
|
|
id: "water"
|
2021-11-05 09:04:54 +00:00
|
|
|
requires:
|
|
|
|
tables:
|
2022-08-02 12:22:58 +00:00
|
|
|
- ne_10m_lakes
|
|
|
|
- ne_10m_ocean
|
|
|
|
- ne_110m_lakes
|
|
|
|
- ne_110m_ocean
|
|
|
|
- ne_50m_lakes
|
|
|
|
- ne_50m_ocean
|
2021-11-05 09:04:54 +00:00
|
|
|
- osm_ocean_polygon
|
2016-10-10 17:39:47 +00:00
|
|
|
description: |
|
2016-10-28 18:49:20 +00:00
|
|
|
Water polygons representing oceans and lakes. Covered watered areas are excluded (`covered=yes`).
|
2017-01-05 15:36:55 +00:00
|
|
|
On low zoom levels all water originates from Natural Earth. To get a more correct display of the south pole you should also
|
2016-10-28 18:49:20 +00:00
|
|
|
style the covering ice shelves over the water.
|
2019-05-20 09:58:34 +00:00
|
|
|
On higher zoom levels water polygons from [OpenStreetMapData](http://osmdata.openstreetmap.de/) are used.
|
2017-01-05 15:36:55 +00:00
|
|
|
The polygons are split into many smaller polygons to improve rendering performance.
|
2016-10-28 18:49:20 +00:00
|
|
|
This however can lead to less rendering options in clients since these boundaries show up. So you might not be
|
|
|
|
able to use border styling for ocean water features.
|
|
|
|
fields:
|
2022-05-05 12:26:57 +00:00
|
|
|
id:
|
|
|
|
description: |
|
|
|
|
From zoom 6 are taken OSM IDs. Up to zoom 5 there are used Natural Earth lakes, where are propagated the OSM IDs insted of Natural Earth IDs.
|
|
|
|
For smaller area then planet, NE lakes keep their Natural Earth IDs.
|
2017-01-05 15:36:55 +00:00
|
|
|
class:
|
|
|
|
description: |
|
2019-05-20 09:58:34 +00:00
|
|
|
All water polygons from [OpenStreetMapData](http://osmdata.openstreetmap.de/) have the class `ocean`.
|
2023-01-14 12:36:02 +00:00
|
|
|
The water-covered areas of flowing water bodies with the [`water=river`](http://wiki.openstreetmap.org/wiki/Tag:water=river),
|
|
|
|
[`water=canal`](http://wiki.openstreetmap.org/wiki/Tag:water=canal),
|
|
|
|
[`water=stream`](http://wiki.openstreetmap.org/wiki/Tag:water=stream),
|
|
|
|
[`water=ditch`](http://wiki.openstreetmap.org/wiki/Tag:water=ditch), or
|
|
|
|
[`water=drain`](http://wiki.openstreetmap.org/wiki/Tag:water=drain) tags are classified as river. Wet and dry docks
|
2023-01-06 07:44:11 +00:00
|
|
|
tagged [`waterway=dock`](http://wiki.openstreetmap.org/wiki/Tag:waterway=dock) are classified as a `dock`.
|
|
|
|
Various minor waterbodies are classified as a `pond`.
|
2022-05-05 18:57:51 +00:00
|
|
|
Swimming pools tagged [`leisure=swimming_pool`](https://wiki.openstreetmap.org/wiki/Tag:leisure=swimming_pool) are classified as a `swimming_pool`
|
2021-08-10 14:16:40 +00:00
|
|
|
All other water bodies are classified as `lake`.
|
2017-01-05 15:36:55 +00:00
|
|
|
values:
|
2019-10-26 08:28:51 +00:00
|
|
|
dock:
|
|
|
|
waterway: 'dock'
|
|
|
|
river:
|
2023-01-14 12:36:02 +00:00
|
|
|
water: ['river', 'stream', 'canal', 'ditch', 'drain']
|
2023-01-06 07:44:11 +00:00
|
|
|
pond:
|
2024-03-21 14:58:58 +00:00
|
|
|
water: ['pond', 'basin', 'wastewater', 'salt_pond']
|
2021-09-01 06:24:01 +00:00
|
|
|
lake:
|
2019-10-26 08:28:51 +00:00
|
|
|
ocean:
|
2022-05-05 18:57:51 +00:00
|
|
|
swimming_pool:
|
|
|
|
leisure: 'swimming_pool'
|
2019-05-24 11:21:43 +00:00
|
|
|
intermittent:
|
|
|
|
description: |
|
|
|
|
Mark with `1` if it is an [intermittent](http://wiki.openstreetmap.org/wiki/Key:intermittent) water polygon.
|
|
|
|
values: [0, 1]
|
2019-11-19 19:47:34 +00:00
|
|
|
brunnel:
|
|
|
|
description: |
|
|
|
|
Identifies the type of crossing as either a bridge or a tunnel.
|
|
|
|
values:
|
|
|
|
- bridge
|
|
|
|
- tunnel
|
2016-10-09 19:27:09 +00:00
|
|
|
buffer_size: 4
|
|
|
|
datasource:
|
2022-05-05 12:26:57 +00:00
|
|
|
query: (SELECT id, geometry, class, intermittent, brunnel FROM layer_water(!bbox!, z(!scale_denominator!))) AS t
|
2016-10-09 19:27:09 +00:00
|
|
|
schema:
|
2020-06-08 16:32:09 +00:00
|
|
|
- ./update_water.sql
|
2016-10-09 19:27:09 +00:00
|
|
|
- ./water.sql
|
2016-10-10 17:39:47 +00:00
|
|
|
datasources:
|
|
|
|
- type: imposm3
|
|
|
|
mapping_file: ./mapping.yaml
|