27 lines
1.1 KiB
YAML
27 lines
1.1 KiB
YAML
layer:
|
|
id: "landuse"
|
|
description: |
|
|
Landuse is used to describe use of land by humans.At lower zoom levels this is
|
|
from Natural Earth data for residential (urban) areas and at higher zoom levels mostly OSM `landuse` tags.
|
|
buffer_size: 4
|
|
fields:
|
|
class: |
|
|
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 FROM layer_landuse(!bbox!, z(!scale_denominator!))) AS t
|
|
schema:
|
|
- ./landuse.sql
|
|
datasources:
|
|
- type: imposm3
|
|
mapping_file: ./mapping.yaml
|