[gdal-dev] Fwd: Gdal - multipolygon - geometry errors instead holes
Andrew Bell
andrew.bell.ia at gmail.com
Tue Oct 29 05:45:58 PDT 2019
I don't know if this is relevant, but WKT doesn't support "islands" -- you
can't have positive space inside negative space in one polygon. Islands
must be represented as separate polygons within a multipolygon.
On Tue, Oct 29, 2019, 08:32 jratike80 <jukka.rahkonen at maanmittauslaitos.fi>
wrote:
> Interesting observation is that if I read the WKT into QGIS with the Quick
> WKT plugin, then save the layer into shapefile, and finally open the
> shapefile that QGIS saved back to the project, the hole has disappeared and
> there is a topology error instead. It means that QGIS can create a
> shapefile
> that it considers invalid itself.
>
> -Jukka Rahkonen-
>
>
> jratike80 wrote
> > I deleted manually parts from the multipolygon by utilizing the Select
> > Parts
> > tool of OpenJUMP and managed to shrink the error into this shapefile
> > http://latuviitta.org/downloads/just_error.zip that contains only this
> one
> > geometry
> >
> > MULTIPOLYGON ((( -504655.0000000044 -1116885.8500000022,
> > -504655.0000000044
> > ....
>
>
>
>
>
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20191029/c890afda/attachment.html>
More information about the gdal-dev
mailing list