omniscale / imposm3

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

MultiPolygon Missing #209

Closed Vincent-ThinkGeo closed 4 years ago

Vincent-ThinkGeo commented 4 years ago

Context

I downloaded this data, then imported it, below was my script: { "tags": { "load_all": true }, "tables": { "boundary_county": { "columns": [ { "type": "id", "name": "osm_id", "key": null }, { "type": "geometry", "name": "geometry", "key": null } ], "type": "polygon", "filters": { "require": { "admin_level": [ "6" ] } }, "mapping": { "boundary": [ "administrative" ] } } } } One of a record was missing, see osm. I tried to open that pbf file by other applications (QGIS), the record shows correctly.

Expected Behavior

The polygon shape should be imported correctly.

Actual Behavior

The shape is missing.

Possible Fix

This is actually a multipolygon shape, is there something wrong for this shape type ?

Steps to Reproduce

  1. Download data.
  2. Import it using above script.
  3. Check the data of osm.
  4. Query it by osm_id, it is missing.

Context

I tried to import some the US data.

Your Environment

ImreSamu commented 4 years ago

imho: this is an osm data error. image the "Sherman Road (198967673)" is Part of

https://tools.geofabrik.de/osmi/?view=areas&lon=-95.54854&lat=39.11558&zoom=10

image