-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathborders.yaml
More file actions
37 lines (35 loc) · 928 Bytes
/
borders.yaml
File metadata and controls
37 lines (35 loc) · 928 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
generalized_tables:
country_members_gen0:
source: country_members_gen1
tolerance: 200
country_members_gen1:
source: country_members
tolerance: 50
tables:
country_relations:
type: relation
relation_types: [boundary]
mapping:
boundary: [administrative]
filters:
require:
admin_level: ["2"]
columns:
- { name: osm_id, type: id }
- { name: admin_level, type: integer, key: admin_level }
- { name: iso3166_1, type: string, key: "ISO3166-1" }
country_members:
type: relation_member
relation_types: [boundary]
mapping:
boundary: [administrative]
filters:
require:
admin_level: ["2"]
columns:
- { name: osm_id, type: id }
- { name: member, type: member_id }
- { name: geometry, type: geometry }
- { name: role, type: member_role, key: role }
- { name: type, type: member_type }