2016-10-24 10:02:33 +00:00
|
|
|
layer:
|
|
|
|
id: "landuse"
|
2016-10-30 15:07:47 +00:00
|
|
|
description: |
|
2017-01-05 15:46:11 +00:00
|
|
|
Landuse is used to describe use of land by humans. At lower zoom levels this is
|
2016-10-30 15:07:47 +00:00
|
|
|
from Natural Earth data for residential (urban) areas and at higher zoom levels mostly OSM `landuse` tags.
|
2016-10-24 10:02:33 +00:00
|
|
|
buffer_size: 4
|
2016-10-30 15:07:47 +00:00
|
|
|
fields:
|
2016-11-30 11:20:59 +00:00
|
|
|
class:
|
|
|
|
description: |
|
|
|
|
Use the **class** to assign special colors to areas.
|
|
|
|
Original value of either the
|
|
|
|
[`amenity`](http://wiki.openstreetmap.org/wiki/Key:amenity),
|
|
|
|
[`landuse`](http://wiki.openstreetmap.org/wiki/Key:landuse),
|
|
|
|
or [`leisure`](http://wiki.openstreetmap.org/wiki/Key:leisure) tag.
|
|
|
|
values:
|
|
|
|
- school
|
|
|
|
- university
|
|
|
|
- kindergarten
|
|
|
|
- college
|
|
|
|
- library
|
|
|
|
- hospital
|
|
|
|
- railway
|
|
|
|
- cemetery
|
|
|
|
- military
|
|
|
|
- residential
|
|
|
|
- commercial
|
|
|
|
- industrial
|
|
|
|
- retail
|
|
|
|
- stadium
|
2016-10-24 10:02:33 +00:00
|
|
|
datasource:
|
2016-10-24 12:28:09 +00:00
|
|
|
geometry_field: geometry
|
2016-11-30 09:31:54 +00:00
|
|
|
query: (SELECT geometry, class FROM layer_landuse(!bbox!, z(!scale_denominator!))) AS t
|
2016-10-24 10:02:33 +00:00
|
|
|
schema:
|
|
|
|
- ./landuse.sql
|
|
|
|
datasources:
|
|
|
|
- type: imposm3
|
|
|
|
mapping_file: ./mapping.yaml
|