openmaptiles/layers/waterway/mapping.yaml

37 wiersze
892 B
YAML
Czysty Zwykły widok Historia

2016-10-24 10:02:50 +00:00
generalized_tables:
2016-11-10 14:00:13 +00:00
# etldoc: imposm3 -> osm_waterway_linestring_gen0
2016-10-24 10:02:50 +00:00
waterway_linestring_gen0:
source: waterway_linestring_gen1
sql_filter: waterway IN ('river') AND ST_Length(geometry) > 10000
tolerance: 200.0
2016-11-10 14:00:13 +00:00
# etldoc: imposm3 -> osm_waterway_linestring_gen1
2016-10-24 10:02:50 +00:00
waterway_linestring_gen1:
source: waterway_linestring
sql_filter: waterway IN ('river') AND ST_Length(geometry) > 5000
tolerance: 100.0
2016-10-24 07:40:14 +00:00
tables:
2016-11-10 14:00:13 +00:00
# etldoc: imposm3 -> osm_waterway_linestring
2016-10-24 07:40:14 +00:00
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
mapping:
waterway:
- stream
- river
- canal
- drain
- ditch