kopia lustrzana https://github.com/openmaptiles/openmaptiles
37 wiersze
892 B
YAML
37 wiersze
892 B
YAML
generalized_tables:
|
|
# etldoc: imposm3 -> osm_waterway_linestring_gen0
|
|
waterway_linestring_gen0:
|
|
source: waterway_linestring_gen1
|
|
sql_filter: waterway IN ('river') AND ST_Length(geometry) > 10000
|
|
tolerance: 200.0
|
|
# etldoc: imposm3 -> osm_waterway_linestring_gen1
|
|
waterway_linestring_gen1:
|
|
source: waterway_linestring
|
|
sql_filter: waterway IN ('river') AND ST_Length(geometry) > 5000
|
|
tolerance: 100.0
|
|
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
|
|
mapping:
|
|
waterway:
|
|
- stream
|
|
- river
|
|
- canal
|
|
- drain
|
|
- ditch
|