openmaptiles/layers/boundary/mapping.yaml

48 wiersze
1.1 KiB
YAML

generalized_tables:
# etldoc: imposm3 -> osm_boundary_linestring_gen5
boundary_linestring_gen5:
source: boundary_linestring
tolerance: ZRES9
# etldoc: imposm3 -> osm_boundary_linestring_gen4
boundary_linestring_gen4:
source: boundary_linestring
tolerance: ZRES10
# etldoc: imposm3 -> osm_boundary_linestring_gen3
boundary_linestring_gen3:
source: boundary_linestring
tolerance: ZRES11
# etldoc: imposm3 -> osm_boundary_linestring_gen2
boundary_linestring_gen2:
source: boundary_linestring
tolerance: ZRES12
# etldoc: imposm3 -> osm_boundary_linestring_gen1
boundary_linestring_gen1:
source: boundary_linestring
tolerance: ZRES13
tables:
# etldoc: imposm3 -> osm_boundary_linestring
boundary_linestring:
fields:
- name: osm_id
type: id
- name: geometry
type: geometry
- key: admin_level
name: admin_level
type: integer
filters:
reject:
natural: ["coastline"]
require:
admin_level: ["__any__"]
mapping:
boundary:
- administrative
type: linestring