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: | |
---|---|---|---|
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 , 11 years ago
Summary: | GEOSCentroid returns EMPTY for single-point line → GEOSCentroid returns EMPTY for single-point lines and zero-length polygons |
---|
comment:2 by , 11 years ago
comment:3 by , 11 years ago
Keywords: | history added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Refactoring done with r3749 -- only targets 3.4
Note:
See TracTickets
for help on using tickets.
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.