Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#2109 closed defect (fixed)

ST_Centroid gives POLYGON EMPTY on POLYGON EMPTY input

Reported by: strk Owned by: pramsey
Priority: medium Milestone: PostGIS 2.0.2
Component: postgis Version: 2.0.x
Keywords: history Cc:

Description

Should always give a POINT instead (even if EMPTY)

Change History (4)

comment:1 Changed 6 years ago by robe

Milestone: PostGIS 2.0.2PostGIS 2.0.3

comment:2 Changed 6 years ago by strk

Interestingly, it used to crash 2 years ago: #684

comment:3 Changed 6 years ago by strk

Milestone: PostGIS 2.0.3PostGIS 2.0.2
Resolution: fixed
Status: newclosed

Fixed by r10751 in trunk, r10752 in 2.0 branch

comment:4 Changed 6 years ago by strk

Keywords: history added
Note: See TracTickets for help on using tickets.