Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MultiPolygon Missing #209

Closed
Vincent-ThinkGeo opened this issue Sep 29, 2019 · 1 comment
Closed

MultiPolygon Missing #209

Vincent-ThinkGeo opened this issue Sep 29, 2019 · 1 comment

Comments

@Vincent-ThinkGeo
Copy link

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

  • Version used: imposm-0.8.1-linux-x86-64
  • Environment name and version (e.g. PostgreSQL x.y.z with PostGIS a.b.c): PostgreSQL 11.5 with PostGIS 2.5.1
  • Server type and version: PostgreSQL 11.5 (Ubuntu 11.5-0ubuntu0.19.04.1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 8.3.0-6ubuntu1) 8.3.0, 64-bit
  • Operating System and version: Ubuntu 11.5-0ubuntu0.19.04.1
@ImreSamu
Copy link
Contributor

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

  • Relation "Jefferson County" (1070422) (as outer)
  • Relation "Shawnee County" (1070387) (as outer)

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

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants