Opened 11 years ago

Closed 11 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: main
Severity: Unassigned Keywords: history
Cc:

Description

JTS fixed this with revisions 728

Change History (3)

comment:1 by strk, 11 years ago

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

comment:2 by strk, 11 years ago

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 by strk, 11 years ago

Keywords: history added
Resolution: fixed
Status: newclosed

Refactoring done with r3749 -- only targets 3.4

Note: See TracTickets for help on using tickets.