Hi,

I noticed gdal_polygonize.py creates invalid shapefiles.
I use this tiff file as input:
http://www.fao.org/geonetwork/srv/en/http://www.fao.org/geonetwork/srv/en/resources.get?id=37139&fname=povt.zip&access=private

And this is my command:
gdal_polygonize.py pov.tif -f "ESRI Shapefile" pov_polygonize.shp

I tried it using gdal v1.9 and v2.0.
Both give a result of 381 invalid shapes (according to GEOS).
All of them are reported as 'Ring Self-intersection'.

Should I change my command to prevent invalid shapes?

Thanks,

Paul
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to