Opened 8 years ago

Closed 8 years ago

#612 closed defect (fixed)

GEOSCentroid returns EMPTY for single-point lines and zero-length polygons

Reported by: strk Owned by: geos-devel@…
Priority: major Milestone: 3.4.0
Component: Default Version: master
Severity: Unassigned Keywords: history
Cc:

Description

JTS fixed this with revisions 728

Change History (3)

comment:1 Changed 8 years ago by strk

Summary: GEOSCentroid returns EMPTY for single-point lineGEOSCentroid returns EMPTY for single-point lines and zero-length polygons

comment:2 Changed 8 years ago by strk

This implies porting a new "Centroid" algorithm class and making use of it from Geometry class. The new class deprecates CentroidArea?, CentroidLine? and CentroidPoint?. The JTS changeset includes testcases.

comment:3 Changed 8 years ago by strk

Keywords: history added
Resolution: fixed
Status: newclosed

Refactoring done with r3749 -- only targets 3.4

Note: See TracTickets for help on using tickets.