Closed prozessor13 closed 8 years ago
Hi @prozessor13 !
for me , with the example mapping is working :
imposm3dev=> select name, type, admin_level from osm_admin;
;
name | type | admin_level
------------+----------------+-------------
Schladming | administrative | 8
(1 row)
Probably the 'mapping' definition is missing in your yml.
mapping:
boundary:
- administrative
try this
tables:
admin:
fields:
- name: osm_id
type: id
- name: geometry
type: geometry
- key: name
name: name
type: string
- name: type
type: mapping_value
- key: admin_level
name: admin_level
type: integer
mapping:
boundary:
- administrative
type: polygon
or the /example-mapping.yml
oh, thx for your quick response, this did the trick!
cheers. max.
hallo,
i want to import the administrative-area Schladming without success. here is my mappingfile:
and here an osm extract with only "Schladming":
schladming.osm.gz
when i do a
the table
osm_schladming
is empty.here are the outputs of the read and write processes:
thx for your help. max.