Closed olehz closed 7 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.
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
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?
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.)
Administrative border of the country misses in the result DB