[geos-devel] Bug in GEOS polygonizer

Mika Heiskanen mika.heiskanen at fmi.fi
Fri Mar 7 12:00:20 PST 2014

On 03/07/2014 08:57 PM, Sandro Santilli wrote:
> You don't get the polygon twice, you get the _ring_ twice,
> once with the role of a shell (outer ring) and one with the
> role of an hole (inner ring).

Sorry for my mistake in the terminology. Thank you for your
explanations, you've been very helpful indeed. If you don't
mind, could you also provide some pointer as to why the
polygonizer returns the same ring twice, I would like to
document our code properly.

> You may see if Martin Davis ever added that support to the JTS
> side of things. If so, it would be nice to port over.
> In PostGIS you can find a function that does what you need,
> it's called "BuidArea". It was also recently improved:
> http://trac.osgeo.org/postgis/ticket/1806

Will check both. Thank you very much again for your advice.


Mika Heiskanen / FMI

More information about the geos-devel mailing list