[gdal-dev] Polygonize + 8conn => self intersection?

Casper Børgesen (CABO) CABO at NIRAS.DK
Thu May 2 13:47:33 PDT 2013

Hi all.

I've got a simple question. When using GDAL Polygonize with 8-connectivity on two diagonal pixels (the X's) like this:

X +
+ X

Does this lead to a single polygon with self intersection or a multipolygon with two single polygons?

It seems to give me a single polygon regardless of the geometry type of the output layer.

Regards, Casper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130502/f536331d/attachment.html>

More information about the gdal-dev mailing list