20 lines
590 B
YAML
20 lines
590 B
YAML
layer:
|
|
id: "outdoor_poi"
|
|
description: Outdoor POI missing from OMT
|
|
buffer_size: 4
|
|
srs: +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over
|
|
fields:
|
|
class:
|
|
subclass:
|
|
name:
|
|
datasource:
|
|
key_field: osm_id
|
|
key_field_as_attribute: no
|
|
geometry_field: geometry
|
|
srid: 900913
|
|
query: (SELECT osm_id, geometry, class, subclass, name FROM layer_outdoor_poi(!bbox!, z(!scale_denominator!))) AS t
|
|
schema:
|
|
- ./layer.sql
|
|
datasources:
|
|
- type: imposm3
|
|
mapping_file: ./mapping.yaml
|