Merge pull request #124 from openmaptiles/imposm3_filter_reject_require

[WIP] imposm3 mapping change to the new reject/require syntax
pull/147/head
Lukas Martinelli 2017-01-18 15:39:55 +01:00 zatwierdzone przez GitHub
commit ef640b9d4e
6 zmienionych plików z 27 dodań i 24 usunięć

Wyświetl plik

@ -26,7 +26,7 @@ services:
links:
- postgres
import-osm:
image: "openmaptiles/import-osm:latest"
image: "openmaptiles/import-osm:0.3"
env_file: .env
environment:
DIFF_MODE: ${DIFF_MODE}

Wyświetl plik

@ -37,9 +37,10 @@ tables:
name: admin_level
type: integer
filters:
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,8 @@ tables:
- *name
- *name_en
filters:
exclude_tags:
- [ "name", "__nil__" ]
require:
name: ["__any__"]
mapping:
place:
- continent
@ -82,8 +82,8 @@ tables:
- *name_ja
- *rank
filters:
exclude_tags:
- [ "name", "__nil__" ]
require:
name: ["__any__"]
mapping:
place:
- country
@ -110,8 +110,8 @@ tables:
- *name_ja
- *rank
filters:
exclude_tags:
- [ "name", "__nil__" ]
require:
name: ["__any__"]
mapping:
place:
- island
@ -136,8 +136,8 @@ tables:
- *name_ja
- *rank
filters:
exclude_tags:
- [ "name", "__nil__" ]
require:
name: ["__any__"]
mapping:
place:
- island
@ -171,8 +171,8 @@ tables:
type: string
- *rank
filters:
exclude_tags:
- [ "name", "__nil__" ]
require:
name: ["__any__"]
mapping:
place:
- state
@ -206,8 +206,8 @@ tables:
type: string
- *rank
filters:
exclude_tags:
- [ "name", "__nil__" ]
require:
name: ["__any__"]
mapping:
place:
- city

Wyświetl plik

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

Wyświetl plik

@ -20,8 +20,8 @@ tables:
key: rank
type: integer
filters:
exclude_tags:
- [ "name", "__nil__" ]
require:
name: ["__any__"]
mapping:
place:
- ocean