openmaptiles/layers/waterway/mapping.yaml

47 wiersze
1.1 KiB
YAML

generalized_tables:
# etldoc: imposm3 -> osm_waterway_linestring_gen3
waterway_linestring_gen3:
source: waterway_linestring_gen2
sql_filter: waterway IN ('river')
tolerance: ZRES9
# etldoc: imposm3 -> osm_waterway_linestring_gen2
waterway_linestring_gen2:
source: waterway_linestring_gen1
sql_filter: waterway IN ('river')
tolerance: ZRES10
# etldoc: imposm3 -> osm_waterway_linestring_gen1
waterway_linestring_gen1:
source: waterway_linestring
sql_filter: waterway IN ('river')
tolerance: ZRES11
tables:
# etldoc: imposm3 -> osm_waterway_linestring
waterway_linestring:
type: linestring
fields:
- name: osm_id
type: id
- name: geometry
type: geometry
- name: waterway
key: waterway
type: string
- key: name
name: name
type: string
- name: name_en
key: name:en
type: string
- name: name_de
key: name:de
type: string
- name: tags
type: hstore_tags
mapping:
waterway:
- stream
- river
- canal
- drain
- ditch