Opened 10 years ago

Closed 10 years ago

Last modified 10 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 by robe, 10 years ago

Milestone: PostGIS 2.0.2PostGIS 2.0.3

comment:2 by strk, 10 years ago

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

comment:3 by strk, 10 years ago

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

Fixed by r10751 in trunk, r10752 in 2.0 branch

comment:4 by strk, 10 years ago

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