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 name: admin_level
type: integer type: integer
filters: filters:
exclude_tags: #exclude_tags:
- [ "admin_level", "__nil__" ] #- [ "admin_level", "__nil__" ]
- [ "natural", "coastline" ] #- [ "natural", "coastline" ]
reject:
natural: ["coastline"]
require:
admin_level: ["__any__"]
mapping: mapping:
boundary: boundary:
- administrative - administrative

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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