A PostGIS user uncovered a long-standing bug in Geometry.centroid() - an
inability to handle certain polygons with close to zero-area. (See this
thread on the PostGIS-Users list:
http://postgis.refractions.net/pipermail/postgis-users/2008-December/022148.html
)
I've fixed JTS so that Geometry.centroid() now handles any
(close-to-)zero-area polygons correctly (by returning the centroid of
the linework instead).
--
Martin Davis
Senior Technical Architect
Refractions Research, Inc.
(250) 383-3022
_______________________________________________
jts-devel mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jts-devel