Use classes from ClearTables and add continents

This commit is contained in:
Lukas Martinelli
2016-11-28 15:42:13 +00:00
parent aed323bb99
commit 2f35ab3ee1
8 changed files with 88 additions and 31 deletions

View File

@@ -12,6 +12,23 @@ rank_field: &rank
type: integer
tables:
# etldoc: imposm3 -> osm_continent_point
continent_point:
type: point
fields:
- name: osm_id
type: id
- name: geometry
type: geometry
- *name
- *name_en
filters:
exclude_tags:
- [ "name", "__nil__" ]
mapping:
place:
- continent
# etldoc: imposm3 -> osm_country_point
country_point:
type: point
@@ -73,6 +90,9 @@ tables:
- key: population
name: population
type: integer
- key: capital
name: capital
type: string
- *rank
filters:
exclude_tags: