Testing addition of landuse.name

This commit is contained in:
Miel Truyen 2020-07-02 15:32:22 +02:00
parent 566f4c47d5
commit 3994345d27
3 changed files with 5 additions and 1 deletions

View File

@ -147,7 +147,8 @@ CREATE OR REPLACE FUNCTION layer_landuse(bbox geometry, zoom_level int)
( (
osm_id bigint, osm_id bigint,
geometry geometry, geometry geometry,
class text class text,
name text
) )
AS AS
$$ $$

View File

@ -5,6 +5,7 @@ layer:
from Natural Earth data for residential (urban) areas and at higher zoom levels mostly OSM `landuse` tags. from Natural Earth data for residential (urban) areas and at higher zoom levels mostly OSM `landuse` tags.
buffer_size: 4 buffer_size: 4
fields: fields:
name: The OSM [`name`] value of this landuse.
class: class:
description: | description: |
Use the **class** to assign special colors to areas. Use the **class** to assign special colors to areas.

View File

@ -63,6 +63,8 @@ tables:
type: string type: string
- name: area - name: area
type: area type: area
- name: name
type: string
mapping: mapping:
landuse: landuse:
- railway - railway