kopia lustrzana https://github.com/openmaptiles/openmaptiles
Merge pull request #124 from openmaptiles/imposm3_filter_reject_require
[WIP] imposm3 mapping change to the new reject/require syntaxpull/147/head
commit
ef640b9d4e
|
@ -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}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -57,8 +57,8 @@ tables:
|
|||
key: waterway
|
||||
type: string
|
||||
filters:
|
||||
exclude_tags:
|
||||
- [ "covered", "yes" ]
|
||||
reject:
|
||||
covered: ["yes"]
|
||||
mapping:
|
||||
landuse:
|
||||
- reservoir
|
||||
|
|
|
@ -20,8 +20,8 @@ tables:
|
|||
key: rank
|
||||
type: integer
|
||||
filters:
|
||||
exclude_tags:
|
||||
- [ "name", "__nil__" ]
|
||||
require:
|
||||
name: ["__any__"]
|
||||
mapping:
|
||||
place:
|
||||
- ocean
|
||||
|
|
Ładowanie…
Reference in New Issue