openmaptiles/layers/landuse/landuse.yaml
Jeroen Hoek 295688eb80
Add place=quarter to city subdivisions (#1065)
This adds `place=quarter` which was introduced in 2011 as a subdivision
of villages/towns/cities as a value that sits between `place=suburb` and
`place=neighbourhood`. It has by now been used over 40,000 times and is
rendered in the OSM-Carto.
2021-01-18 14:47:25 +01:00

52 lines
1.5 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:
description: |
Use the **class** to assign special colors to areas.
Original value of either the
[`landuse`](http://wiki.openstreetmap.org/wiki/Key:landuse),
[`amenity`](http://wiki.openstreetmap.org/wiki/Key:amenity),
[`leisure`](http://wiki.openstreetmap.org/wiki/Key:leisure),
[`tourism`](http://wiki.openstreetmap.org/wiki/Key:tourism),
[`place`](http://wiki.openstreetmap.org/wiki/Key:place)
or [`waterway`](http://wiki.openstreetmap.org/wiki/Key:waterway) tag.
values:
- railway
- cemetery
- military
- residential
- commercial
- industrial
- garages
- retail
- bus_station
- school
- university
- kindergarten
- college
- library
- hospital
- stadium
- pitch
- playground
- track
- theme_park
- zoo
- suburb
- quarter
- neighbourhood
- dam
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