[geos-devel] Collapsed MinimalEdgeRing

Sandro Santilli strk at keybit.net
Mon Apr 18 14:03:28 EDT 2011


Martin, working on http://trac.osgeo.org/geos/ticket/398 
I saw that the difference between JTS and GEOS is of a single
bit, making JTS consider a collapsed ring as CCW while it
is CW for GEOS.
This makes the difference between an assertion failure or not.
In JTS you get the collapsed ring (a spike) in the result.

Now: is there a way to detect if a LinearRing is collapsed ?
Would it be appropriate to consider such collapsed ring always
holes in that case ?
Does it make sense to strip these off the result ?

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html


More information about the geos-devel mailing list