2016-10-24 10:02:33 +00:00
|
|
|
layer:
|
|
|
|
id: "landuse"
|
2021-11-05 09:04:54 +00:00
|
|
|
requires:
|
|
|
|
tables:
|
|
|
|
- ne_50m_urban_areas
|
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
|
2019-04-11 09:57:07 +00:00
|
|
|
[`landuse`](http://wiki.openstreetmap.org/wiki/Key:landuse),
|
2016-11-30 11:20:59 +00:00
|
|
|
[`amenity`](http://wiki.openstreetmap.org/wiki/Key:amenity),
|
2019-04-11 09:57:07 +00:00
|
|
|
[`leisure`](http://wiki.openstreetmap.org/wiki/Key:leisure),
|
2017-12-07 15:54:37 +00:00
|
|
|
[`tourism`](http://wiki.openstreetmap.org/wiki/Key:tourism),
|
2019-11-20 17:05:07 +00:00
|
|
|
[`place`](http://wiki.openstreetmap.org/wiki/Key:place)
|
|
|
|
or [`waterway`](http://wiki.openstreetmap.org/wiki/Key:waterway) tag.
|
2016-11-30 11:20:59 +00:00
|
|
|
values:
|
|
|
|
- railway
|
|
|
|
- cemetery
|
|
|
|
- military
|
|
|
|
- residential
|
|
|
|
- commercial
|
|
|
|
- industrial
|
2020-12-29 12:26:14 +00:00
|
|
|
- garages
|
2016-11-30 11:20:59 +00:00
|
|
|
- retail
|
2019-04-11 09:57:07 +00:00
|
|
|
- bus_station
|
|
|
|
- school
|
|
|
|
- university
|
|
|
|
- kindergarten
|
|
|
|
- college
|
|
|
|
- library
|
|
|
|
- hospital
|
2016-11-30 11:20:59 +00:00
|
|
|
- stadium
|
2017-11-08 13:03:50 +00:00
|
|
|
- pitch
|
|
|
|
- playground
|
2019-05-15 16:05:44 +00:00
|
|
|
- track
|
2017-12-07 15:54:37 +00:00
|
|
|
- theme_park
|
2018-01-12 14:43:33 +00:00
|
|
|
- zoo
|
2019-04-11 09:57:07 +00:00
|
|
|
- suburb
|
2021-01-18 13:47:25 +00:00
|
|
|
- quarter
|
2019-04-11 09:57:07 +00:00
|
|
|
- neighbourhood
|
2019-11-20 17:05:07 +00:00
|
|
|
- dam
|
2022-09-08 09:43:48 +00:00
|
|
|
- quarry
|
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:
|
2021-08-18 07:09:51 +00:00
|
|
|
- ./class.sql
|
2022-09-02 08:01:41 +00:00
|
|
|
- ./prep_landuse.sql
|
2016-10-24 10:02:33 +00:00
|
|
|
- ./landuse.sql
|
|
|
|
datasources:
|
|
|
|
- type: imposm3
|
|
|
|
mapping_file: ./mapping.yaml
|