omniscale / imposm3

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

Country border #12

Closed olehz closed 7 years ago

olehz commented 10 years ago

Administrative border of the country misses in the result DB

FLGMwt commented 10 years ago

What country are you concerned with? This is more likely a problem in the source OSM data. Unfortunately, admin areas often broken, resulting in missing polys or closed linestrings. Florida, US has been broken for a while.

For reliable boundaries, I would recommend data from Natural Earth. If you think it's a problem with imposm, try to find the country you're looking for in the osm edit mode.

olehz commented 10 years ago

For example: Ukraine (OSM data source: http://data.gis-lab.info/osm_dump/dump/latest/UA.osm.pbf). Border is not broken. osm2pgsql is importing it to DB well, unlike imposm3. A similar problem with large administrative entities within the country

FLGMwt commented 10 years ago

Thanks for giving the example. I'll try it out this evening.

I didn't ask before, but are you looking for the poly or linestring?

olehz commented 10 years ago

Actually, polygons. I'm using imposm3 for my editor/validator (http://nadoloni.com/editor/places) - but in addition to it I have to use osm2pgsql for admins (large polygons) and relations (street, associatedStreet, boundary, route, e.t.c.)