maptiles/layers/outdoor_poi/outdoor_poi.yaml

21 lines
590 B
YAML
Raw Normal View History

2024-10-05 10:43:33 +02:00
layer:
id: "outdoor_poi"
description: Outdoor POI missing from OMT
2024-10-05 10:43:33 +02:00
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
2024-10-05 10:43:33 +02:00
geometry_field: geometry
srid: 900913
query: (SELECT osm_id, geometry, class, subclass, name FROM layer_outdoor_poi(!bbox!, z(!scale_denominator!))) AS t
2024-10-05 10:43:33 +02:00
schema:
- ./layer.sql
datasources:
- type: imposm3
mapping_file: ./mapping.yaml