kopia lustrzana https://github.com/openmaptiles/openmaptiles
Add class=pond to the water layer (#1456)
This PR proposes to add a new class, "pond" to the water layer, which allows for a style to de-emphasize minor bodies of water (tagged `water=pond,basin,wastewater`) when compared to more significant objects tagged reservoir/lake. This PR retains the default behavior of classifying a water body as a "lake" if more specific tagging is not added.pull/1450/head^2
rodzic
29e49f9424
commit
4d5fa84184
|
@ -104,4 +104,7 @@ tables:
|
||||||
- dock
|
- dock
|
||||||
water:
|
water:
|
||||||
- river
|
- river
|
||||||
|
- pond
|
||||||
|
- basin
|
||||||
|
- wastewater
|
||||||
type: polygon
|
type: polygon
|
||||||
|
|
Plik binarny nie jest wyświetlany.
Przed Szerokość: | Wysokość: | Rozmiar: 36 KiB Po Szerokość: | Wysokość: | Rozmiar: 41 KiB |
|
@ -26,7 +26,8 @@ layer:
|
||||||
description: |
|
description: |
|
||||||
All water polygons from [OpenStreetMapData](http://osmdata.openstreetmap.de/) have the class `ocean`.
|
All water polygons from [OpenStreetMapData](http://osmdata.openstreetmap.de/) have the class `ocean`.
|
||||||
Water bodies with the [`water=river`](http://wiki.openstreetmap.org/wiki/Tag:water=river) tag are classified as river. Wet and dry docks
|
Water bodies with the [`water=river`](http://wiki.openstreetmap.org/wiki/Tag:water=river) tag are classified as river. Wet and dry docks
|
||||||
tagged [`waterway=dock`](http://wiki.openstreetmap.org/wiki/Tag:waterway=dock) are classified as a `dock`.
|
tagged [`waterway=dock`](http://wiki.openstreetmap.org/wiki/Tag:waterway=dock) are classified as a `dock`.
|
||||||
|
Various minor waterbodies are classified as a `pond`.
|
||||||
Swimming pools tagged [`leisure=swimming_pool`](https://wiki.openstreetmap.org/wiki/Tag:leisure=swimming_pool) are classified as a `swimming_pool`
|
Swimming pools tagged [`leisure=swimming_pool`](https://wiki.openstreetmap.org/wiki/Tag:leisure=swimming_pool) are classified as a `swimming_pool`
|
||||||
All other water bodies are classified as `lake`.
|
All other water bodies are classified as `lake`.
|
||||||
values:
|
values:
|
||||||
|
@ -34,6 +35,8 @@ layer:
|
||||||
waterway: 'dock'
|
waterway: 'dock'
|
||||||
river:
|
river:
|
||||||
water: 'river'
|
water: 'river'
|
||||||
|
pond:
|
||||||
|
water: ['pond', 'basin', 'wastewater']
|
||||||
lake:
|
lake:
|
||||||
ocean:
|
ocean:
|
||||||
swimming_pool:
|
swimming_pool:
|
||||||
|
|
Plik binarny nie jest wyświetlany.
Przed Szerokość: | Wysokość: | Rozmiar: 41 KiB Po Szerokość: | Wysokość: | Rozmiar: 45 KiB |
Ładowanie…
Reference in New Issue