maptiles/layers/barrier/barrier.yaml

18 lines
475 B
YAML
Raw Normal View History

2024-10-05 10:43:33 +02:00
layer:
2025-01-16 20:45:43 +01:00
id: "barrier"
description: |
Barriers
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:
2025-01-16 20:45:43 +01:00
subclass:
2024-10-05 10:43:33 +02:00
datasource:
geometry_field: geometry
srid: 900913
2025-01-16 20:45:43 +01:00
query: (SELECT geometry, subclass FROM layer_barrier(!bbox!, z(!scale_denominator!))) AS t
2024-10-05 10:43:33 +02:00
schema:
2025-01-16 20:45:43 +01:00
- ./barrier.sql
2024-10-05 10:43:33 +02:00
datasources:
- type: imposm3
mapping_file: ./mapping.yaml