[geos-devel] [GEOS] #560: GEOSGetCentroid EMPTY returns COLLECTION EMPTY rather than POINT EMPTY
GEOS
geos-trac at osgeo.org
Fri Jun 22 08:14:16 PDT 2012
#560: GEOSGetCentroid EMPTY returns COLLECTION EMPTY rather than POINT EMPTY
------------------------+---------------------------------------------------
Reporter: strk | Owner: geos-devel@…
Type: defect | Status: new
Priority: major | Milestone: 3.4.0
Component: Default | Version: 3.3.4
Severity: Unassigned | Keywords:
------------------------+---------------------------------------------------
Not very important, but as ST_Buffer is guaranteed to return an areal
geometry (POLYGON EMPTY in the empty case) I guess Centroid should also
return a typed POINT no matter emptyness (for consistency)
--
Ticket URL: <http://trac.osgeo.org/geos/ticket/560>
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