[OSM-dev] (Multi)Polygon handling
Oliver Tonnhofer
olt at omniscale.de
Fri Jul 13 15:35:09 BST 2012
Hi,
On 13.07.2012, at 15:24, Even Rouault wrote:
> My perception was that the only part that need some thinking is when building a
> MULTIPOLYGON from multiple ways referenced by a relation ( bascially what is
> described in http://wiki.openstreetmap.org/wiki/Relation:multipolygon ). But I'm
> definitely not an expert on OSM specificities, so you can prove me wrong :-)
That's basically all the edge cases I tested Imposm for.
We have an .osm file that should have geometry for all cases:
https://github.com/omniscale/imposm/blob/master/imposm/test/test.out.osm
Though Imposm does fix more broken geometries than that, because it verifies (and fixes) all geometries with GEOS before importing into PostGIS.
Regards,
Oliver
--
Oliver Tonnhofer | Omniscale GmbH & Co KG | http://omniscale.de
http://mapproxy.org | https://github.com/olt | @oltonn
More information about the dev
mailing list