imposm3 mapping change to the new reject/require syntax

pull/124/head
ImreSamu 2017-01-07 14:55:08 +01:00
rodzic cb61c9df82
commit 40884b9976
5 zmienionych plików z 45 dodań i 23 usunięć

Wyświetl plik

@ -37,9 +37,13 @@ tables:
name: admin_level
type: integer
filters:
exclude_tags:
- [ "admin_level", "__nil__" ]
- [ "natural", "coastline" ]
#exclude_tags:
#- [ "admin_level", "__nil__" ]
#- [ "natural", "coastline" ]
reject:
natural: ["coastline"]
require:
admin_level: ["__any__"]
mapping:
boundary:
- administrative

Wyświetl plik

@ -42,8 +42,10 @@ tables:
- terminal
- hangar
filters:
exclude_tags:
- [ "building", "no" ]
- [ "building", "none" ]
- [ "building", "No" ]
# exclude_tags:
# - [ "building", "no" ]
# - [ "building", "none" ]
# - [ "building", "No" ]
reject:
building: ["no","none","No"]
type: polygon

Wyświetl plik

@ -56,8 +56,10 @@ tables:
- *name
- *name_en
filters:
exclude_tags:
- [ "name", "__nil__" ]
#exclude_tags:
#- [ "name", "__nil__" ]
require:
name: ["__any__"]
mapping:
place:
- continent
@ -82,8 +84,10 @@ tables:
- *name_ja
- *rank
filters:
exclude_tags:
- [ "name", "__nil__" ]
#exclude_tags:
#- [ "name", "__nil__" ]
require:
name: ["__any__"]
mapping:
place:
- country
@ -110,8 +114,10 @@ tables:
- *name_ja
- *rank
filters:
exclude_tags:
- [ "name", "__nil__" ]
#exclude_tags:
#- [ "name", "__nil__" ]
require:
name: ["__any__"]
mapping:
place:
- island
@ -136,8 +142,10 @@ tables:
- *name_ja
- *rank
filters:
exclude_tags:
- [ "name", "__nil__" ]
#exclude_tags:
#- [ "name", "__nil__" ]
require:
name: ["__any__"]
mapping:
place:
- island
@ -171,8 +179,10 @@ tables:
type: string
- *rank
filters:
exclude_tags:
- [ "name", "__nil__" ]
#exclude_tags:
#- [ "name", "__nil__" ]
require:
name: ["__any__"]
mapping:
place:
- state
@ -206,8 +216,10 @@ tables:
type: string
- *rank
filters:
exclude_tags:
- [ "name", "__nil__" ]
#exclude_tags:
#- [ "name", "__nil__" ]
require:
name: ["__any__"]
mapping:
place:
- city

Wyświetl plik

@ -57,8 +57,10 @@ tables:
key: waterway
type: string
filters:
exclude_tags:
- [ "covered", "yes" ]
#exclude_tags:
#- [ "covered", "yes" ]
reject:
covered: ["yes"]
mapping:
landuse:
- reservoir

Wyświetl plik

@ -17,8 +17,10 @@ tables:
key: place
type: string
filters:
exclude_tags:
- [ "name", "__nil__" ]
#exclude_tags:
#- [ "name", "__nil__" ]
require:
name: ["__any__"]
mapping:
place:
- ocean