openmaptiles/layers/boundary/mapping.yaml

48 wiersze
1.1 KiB
YAML
Czysty Zwykły widok Historia

2016-10-10 17:29:50 +00:00
generalized_tables:
# etldoc: imposm3 -> osm_boundary_linestring_gen5
2016-10-10 17:29:50 +00:00
boundary_linestring_gen5:
source: boundary_linestring
2017-04-25 22:03:29 +00:00
tolerance: ZRES9
# etldoc: imposm3 -> osm_boundary_linestring_gen4
2016-10-10 17:29:50 +00:00
boundary_linestring_gen4:
source: boundary_linestring
2017-04-25 22:03:29 +00:00
tolerance: ZRES10
# etldoc: imposm3 -> osm_boundary_linestring_gen3
2016-10-10 17:29:50 +00:00
boundary_linestring_gen3:
source: boundary_linestring
2017-04-25 22:03:29 +00:00
tolerance: ZRES11
# etldoc: imposm3 -> osm_boundary_linestring_gen2
2016-10-10 17:29:50 +00:00
boundary_linestring_gen2:
source: boundary_linestring
2017-04-25 22:03:29 +00:00
tolerance: ZRES12
# etldoc: imposm3 -> osm_boundary_linestring_gen1
2016-10-10 17:29:50 +00:00
boundary_linestring_gen1:
source: boundary_linestring
2017-04-25 22:03:29 +00:00
tolerance: ZRES13
2016-10-10 17:29:50 +00:00
tables:
# etldoc: imposm3 -> osm_boundary_linestring
2016-10-10 17:29:50 +00:00
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:
2017-01-18 14:06:24 +00:00
admin_level: ["__any__"]
2016-10-10 17:29:50 +00:00
mapping:
boundary:
- administrative
type: linestring