#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).
_______________________________________________ geos-devel mailing list geos-devel@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/geos-devel