openmaptiles/layers/water/water.yaml

21 wiersze
872 B
YAML
Czysty Zwykły widok Historia

2016-10-09 19:27:09 +00:00
layer:
id: "water"
2016-10-10 17:39:47 +00:00
description: |
Water polygons representing oceans and lakes. Covered watered areas are excluded (`covered=yes`).
Until z6 all water originates from Natural Earth. To get a more correct display of the south pole you should also
style the covering ice shelves over the water.
Water from OpenStreetMap after z7 is split into many smaller polygons to improve rendering performance.
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:
class: |
Either `ocean`, `lake` or `river`.
2016-10-09 19:27:09 +00:00
buffer_size: 4
datasource:
query: (SELECT geom, class FROM layer_water(!bbox!, z(!scale_denominator!))) AS t
2016-10-09 19:27:09 +00:00
schema:
- ./water.sql
2016-10-10 17:39:47 +00:00
datasources:
- type: imposm3
mapping_file: ./mapping.yaml