Map sea and ocean from OSM
This commit is contained in:
parent
be349acd58
commit
ec5a0aa15f
25
layers/water_name/mapping.yaml
Normal file
25
layers/water_name/mapping.yaml
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
tables:
|
||||||
|
# etldoc: imposm3 -> osm_marine_point
|
||||||
|
marine_point:
|
||||||
|
type: point
|
||||||
|
fields:
|
||||||
|
- name: osm_id
|
||||||
|
type: id
|
||||||
|
- name: geometry
|
||||||
|
type: geometry
|
||||||
|
- name: name
|
||||||
|
key: name
|
||||||
|
type: string
|
||||||
|
- name: name_en
|
||||||
|
key: name:en
|
||||||
|
type: string
|
||||||
|
- name: place
|
||||||
|
key: place
|
||||||
|
type: string
|
||||||
|
filters:
|
||||||
|
exclude_tags:
|
||||||
|
- [ "name", "__nil__" ]
|
||||||
|
mapping:
|
||||||
|
place:
|
||||||
|
- ocean
|
||||||
|
- sea
|
||||||
@ -22,3 +22,5 @@ schema:
|
|||||||
datasources:
|
datasources:
|
||||||
- type: imposm3
|
- type: imposm3
|
||||||
mapping_file: ../water/mapping.yaml
|
mapping_file: ../water/mapping.yaml
|
||||||
|
- type: imposm3
|
||||||
|
mapping_file: ./mapping.yaml
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user