Add possible values for landcover, landuse, park doc
This commit is contained in:
parent
4a902ca273
commit
915cd2bde3
@ -6,13 +6,48 @@ layer:
|
|||||||
is to style wood (`class=wood`) and grass (`class=`grass`) areas.
|
is to style wood (`class=wood`) and grass (`class=`grass`) areas.
|
||||||
buffer_size: 4
|
buffer_size: 4
|
||||||
fields:
|
fields:
|
||||||
class: |
|
class:
|
||||||
More generalized groups of either `farmland`, `ice`, `wood`, `grass`
|
description: |
|
||||||
or `wetland`.
|
Use the **class** to assign natural colors for **landcover**.
|
||||||
Use this to assign general colors to the landcover.
|
values:
|
||||||
subclass: |
|
- farmland
|
||||||
Original value of either the `landuse`, `natural`, `leisure` or
|
- ice
|
||||||
`wetland` tag. Use this to do more precise styling.
|
- wood
|
||||||
|
- grass
|
||||||
|
- wetland
|
||||||
|
subclass:
|
||||||
|
description: |
|
||||||
|
Use **subclass** to do more precise styling.
|
||||||
|
Original value of either the
|
||||||
|
[`natural`](http://wiki.openstreetmap.org/wiki/Key:natural),
|
||||||
|
[`landuse`](http://wiki.openstreetmap.org/wiki/Key:landuse),
|
||||||
|
,[`leisure`](http://wiki.openstreetmap.org/wiki/Key:leisure),
|
||||||
|
or [`wetland`](http://wiki.openstreetmap.org/wiki/Key:wetland) tag.
|
||||||
|
values:
|
||||||
|
- allotments
|
||||||
|
- farm
|
||||||
|
- farmland
|
||||||
|
- orchard
|
||||||
|
- plant_nursery
|
||||||
|
- vineyard
|
||||||
|
- grass
|
||||||
|
- grassland
|
||||||
|
- meadow
|
||||||
|
- forest
|
||||||
|
- village_green
|
||||||
|
- recreation_ground
|
||||||
|
- park
|
||||||
|
- wetland
|
||||||
|
- grassland
|
||||||
|
- bog
|
||||||
|
- swamp
|
||||||
|
- wet_meadow
|
||||||
|
- marsh
|
||||||
|
- reedbed
|
||||||
|
- saltern
|
||||||
|
- tidalflat
|
||||||
|
- saltmarsh
|
||||||
|
- mangrove
|
||||||
datasource:
|
datasource:
|
||||||
geometry_field: geometry
|
geometry_field: geometry
|
||||||
query: (SELECT geometry, class, subclass FROM layer_landcover(!bbox!, z(!scale_denominator!))) AS t
|
query: (SELECT geometry, class, subclass FROM layer_landcover(!bbox!, z(!scale_denominator!))) AS t
|
||||||
|
|||||||
@ -5,17 +5,28 @@ layer:
|
|||||||
from Natural Earth data for residential (urban) areas and at higher zoom levels mostly OSM `landuse` tags.
|
from Natural Earth data for residential (urban) areas and at higher zoom levels mostly OSM `landuse` tags.
|
||||||
buffer_size: 4
|
buffer_size: 4
|
||||||
fields:
|
fields:
|
||||||
class: |
|
class:
|
||||||
Original value of either the `amenity`, `landuse`, `leisure`
|
description: |
|
||||||
tag. Use this to assign special colors to areas.
|
Use the **class** to assign special colors to areas.
|
||||||
Either `school`, `university`, `kindergarten`, `college`,
|
Original value of either the
|
||||||
`library`, `hospital` (from the
|
[`amenity`](http://wiki.openstreetmap.org/wiki/Key:amenity),
|
||||||
[`amenity`](http://wiki.openstreetmap.org/wiki/Key:amenity) key)
|
[`landuse`](http://wiki.openstreetmap.org/wiki/Key:landuse),
|
||||||
or `railway`, `cemetery`, `military`, `residential`,
|
or [`leisure`](http://wiki.openstreetmap.org/wiki/Key:leisure) tag.
|
||||||
`commercial`, `industrial`, `retail` (from the
|
values:
|
||||||
[`landuse`](http://wiki.openstreetmap.org/wiki/Key:landuse) key)
|
- school
|
||||||
as well as `stadium` (from the
|
- university
|
||||||
[`leisure`](http://wiki.openstreetmap.org/wiki/Key:leisure) key).
|
- kindergarten
|
||||||
|
- college
|
||||||
|
- library
|
||||||
|
- hospital
|
||||||
|
- railway
|
||||||
|
- cemetery
|
||||||
|
- military
|
||||||
|
- residential
|
||||||
|
- commercial
|
||||||
|
- industrial
|
||||||
|
- retail
|
||||||
|
- stadium
|
||||||
datasource:
|
datasource:
|
||||||
geometry_field: geometry
|
geometry_field: geometry
|
||||||
query: (SELECT geometry, class FROM layer_landuse(!bbox!, z(!scale_denominator!))) AS t
|
query: (SELECT geometry, class FROM layer_landuse(!bbox!, z(!scale_denominator!))) AS t
|
||||||
|
|||||||
@ -4,8 +4,12 @@ layer:
|
|||||||
The park layer contains parks from OpenStreetMap tagged with either [`boundary=national_park`](http://wiki.openstreetmap.org/wiki/Tag:boundary%3Dnational_park) or [`leisure=nature_reserve`](http://wiki.openstreetmap.org/wiki/Tag:leisure%3Dnature_reserve).
|
The park layer contains parks from OpenStreetMap tagged with either [`boundary=national_park`](http://wiki.openstreetmap.org/wiki/Tag:boundary%3Dnational_park) or [`leisure=nature_reserve`](http://wiki.openstreetmap.org/wiki/Tag:leisure%3Dnature_reserve).
|
||||||
buffer_size: 4
|
buffer_size: 4
|
||||||
fields:
|
fields:
|
||||||
class: |
|
class:
|
||||||
Either `national_park` or `nature_reserve`.
|
description: |
|
||||||
|
Use the **class** to differentiate between different parks.
|
||||||
|
values:
|
||||||
|
- national_park
|
||||||
|
- nature_reserve
|
||||||
datasource:
|
datasource:
|
||||||
geometry_field: geometry
|
geometry_field: geometry
|
||||||
query: (SELECT geometry, class FROM layer_park(!bbox!, z(!scale_denominator!))) AS t
|
query: (SELECT geometry, class FROM layer_park(!bbox!, z(!scale_denominator!))) AS t
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user