[geos-devel] [GEOS] #559: EMPTY Centroid of tiny triangular polygon
GEOS
geos-trac at osgeo.org
Fri Jun 22 06:34:58 PDT 2012
#559: EMPTY Centroid of tiny triangular polygon
------------------------+---------------------------------------------------
Reporter: strk | Owner: geos-devel@…
Type: defect | Status: new
Priority: major | Milestone: 3.3.5
Component: Default | Version: 3.3.4
Severity: Unassigned | Keywords:
------------------------+---------------------------------------------------
Comment(by strk):
Sorry, I had the wrong WKT. The one in the orginal post works, this one is
the one that fails:
{{{
POLYGON((
56.528666666700 25.2101666667,
56.529000000000 25.2105000000,
56.528833333300 25.2103333333,
56.528666666700 25.2101666667))
}}}
The difference is in the least significant digit in the X ordinate of the
second point.
Both are valid. Area of the working one is 8.28966197710509e-17, area of
the non-working one is 3.30872245021211e-24
--
Ticket URL: <http://trac.osgeo.org/geos/ticket/559#comment:2>
GEOS <http://geos.refractions.net/>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
More information about the geos-devel
mailing list