Files
openmaptiles/layers/highway_name/highway_name.yaml
2016-10-28 15:07:15 +02:00

20 lines
664 B
YAML

layer:
id: "highway_name"
description: |
[OpenStreetMap highway] which is used for roads, paths and cycletracks
and other recognised routes on land.
buffer_size: 8
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: String
datasource:
geometry_field: geometry
srid: 900913
query: (SELECT geometry, name, ref, ref_length, class::text, subclass FROM layer_highway_name(!bbox!, z(!scale_denominator!))) AS t
schema:
- ./merge_highways.sql
- ./layer.sql
datasources:
- type: imposm3
mapping_file: ../highway/mapping.yaml