[geos-devel] [GEOS] #560: Centroid of EMPTY is a COLLECTION rather than POINT
GEOS
geos-trac at osgeo.org
Sat Jan 2 21:26:02 PST 2021
#560: Centroid of EMPTY is a COLLECTION rather than POINT
------------------------+---------------------------
Reporter: strk | Owner: geos-devel@…
Type: defect | Status: closed
Priority: major | Milestone: 3.3.5
Component: Default | Version: 3.3.4
Severity: Unassigned | Resolution: fixed
Keywords: |
------------------------+---------------------------
Comment (by mdavis):
It looks to me like `centroid` of `POLYGON EMPTY` is null, not `POINT
EMPTY`. Same for `interiorPoint`.
The fix on this ticket only applies to the C API. The fix should be
pushed down into the C++ code.
--
Ticket URL: <https://trac.osgeo.org/geos/ticket/560#comment:4>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
More information about the geos-devel
mailing list