omniscale / imposm3

Imposm imports OpenStreetMap data into PostGIS
http://imposm.org/docs/imposm3/latest/
Apache License 2.0
711 stars 156 forks source link

Missing administrative boundary relations #195

Closed HansonYip closed 5 years ago

HansonYip commented 5 years ago

Hi, guys

I am importing china.osm.pbf into PostGIS with the mapping file as below:

generalized_tables: {}
tables:
  border_relations:
    type: relation
    relation_types: [boundary]
    mapping:
      boundary: [administrative]
    columns:
      - {name: osm_id, type: id}
      - {name: admin_level, key: admin_level, type: integer}
      - {name: name, key: name, type: string}

But I found that all of those boundary relations with admin_level=2 are lost. Actually, I am sure that the china.osm.pbf file contains at least one.

Is it the same problem as #126 ?