Extend docs for park, landuse, landcover

This commit is contained in:
Lukas Martinelli
2016-11-30 09:31:54 +00:00
parent 7ca0fc6646
commit 4a902ca273
3 changed files with 19 additions and 18 deletions

View File

@@ -6,14 +6,19 @@ layer:
buffer_size: 4
fields:
class: |
More generalized groups of either `park`, `school`, `hospital`, `railway`,
`cemetery`, `military`, `residential`. Use this to assign general for landuse.
subclass: |
Original value of either the `amenity`, `landuse`, `leisure` or `boundary` tag.
Use this to do more precise styling.
Original value of either the `amenity`, `landuse`, `leisure`
tag. Use this to assign special colors to areas.
Either `school`, `university`, `kindergarten`, `college`,
`library`, `hospital` (from the
[`amenity`](http://wiki.openstreetmap.org/wiki/Key:amenity) key)
or `railway`, `cemetery`, `military`, `residential`,
`commercial`, `industrial`, `retail` (from the
[`landuse`](http://wiki.openstreetmap.org/wiki/Key:landuse) key)
as well as `stadium` (from the
[`leisure`](http://wiki.openstreetmap.org/wiki/Key:leisure) key).
datasource:
geometry_field: geometry
query: (SELECT geometry, class, subclass FROM layer_landuse(!bbox!, z(!scale_denominator!))) AS t
query: (SELECT geometry, class FROM layer_landuse(!bbox!, z(!scale_denominator!))) AS t
schema:
- ./landuse.sql
datasources: