openmaptiles/layers/power/power.yaml

75 wiersze
1.6 KiB
YAML

layer:
id: "power"
description: |
**power** contains power cables and lines.
buffer_size: 4
fields:
name:
description: |
Name of the feature.
class:
description: |
Class is derived from the value of the
[`power`](http://wiki.openstreetmap.org/wiki/Key:power) tag.
values:
- line
- minor_line
- tower
- pole
- catenary_mast
- plant
- generator
- substation
- portal
- transformer
- switch
- insulator
source:
description: |
Class is derived from the value of the
[`plant:source`](http://wiki.openstreetmap.org/wiki/Key:plant:source) tag.
values:
- battery
- biogas
- biomass
- coal
- combustion
- diesel
- gas
- geothermal
- hydro
- nuclear
- oil
- solar
- solar_thermal
- waste
- wind
- wind_turbine
- wood
method:
description: |
Class is derived from the value of the
[`plant:method`](http://wiki.openstreetmap.org/wiki/Key:plant:method) tag.
values:
- anaerobic_digestion
- combustion
- dam
- fission
- gasification
- photovoltaic
- run-of-the-river
- thermal
- water-pumpted-storage
- water-storage
- wind_turbine
datasource:
geometry_field: geometry
query: (SELECT geometry, class, source, method, name FROM layer_power(!bbox!, z(!scale_denominator!))) AS t
schema:
- ./power.sql
datasources:
- type: imposm3
mapping_file: ./mapping.yaml