Browse Source

Fill a database lookup table with administrative boundaries.

feature/search
Bèr Kessels 10 months ago
parent
commit
7a7d46890e
1 changed files with 19 additions and 0 deletions
  1. 19
    0
      mapping.yml

+ 19
- 0
mapping.yml View File

@@ -1,5 +1,24 @@
1 1
 use_single_id_space: true
2 2
 tables:
3
+  admin:
4
+    columns:
5
+    - name: osm_id
6
+      type: id
7
+    - name: geometry
8
+      type: geometry
9
+    - key: name
10
+      name: name
11
+      type: string
12
+    - key: admin_level
13
+      name: admin_level
14
+      type: integer
15
+    - key: admin_level
16
+      name: admin_level
17
+      type: integer
18
+    mapping:
19
+      boundary:
20
+      - administrative
21
+    type: polygon
3 22
   places:
4 23
     columns:
5 24
     - name: osm_id

Loading…
Cancel
Save