Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#560 closed defect (fixed)

Centroid of EMPTY is a COLLECTION rather than POINT

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

Description

Not very important, but as ST_Buffer is guaranteed to return an areal geometry (POLYGON EMPTY in the empty case) I guess Centroid should also return a typed POINT no matter emptyness (for consistency)

Change History (3)

comment:1 Changed 8 years ago by strk

Summary: GEOSGetCentroid EMPTY returns COLLECTION EMPTY rather than POINT EMPTYCentroid of EMPTY is a COLLECTION rather than POINT

comment:2 Changed 8 years ago by strk

Resolution: fixed
Status: newclosed

r3678 in 3.3 branch (for 3.3.5) - r3679 in trunk (for 3.4.0)

comment:3 Changed 8 years ago by strk

Milestone: 3.4.03.3.5
Note: See TracTickets for help on using tickets.