2016-10-24 10:02:33 +00:00
|
|
|
layer:
|
|
|
|
id: "landuse"
|
2016-10-30 15:07:47 +00:00
|
|
|
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.
|
2016-10-24 10:02:33 +00:00
|
|
|
buffer_size: 4
|
2016-10-30 15:07:47 +00:00
|
|
|
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.
|
2016-10-24 10:02:33 +00:00
|
|
|
datasource:
|
2016-10-24 12:28:09 +00:00
|
|
|
geometry_field: geometry
|
2016-10-25 17:15:51 +00:00
|
|
|
query: (SELECT geometry, class, subclass 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
|