Opened 6 years ago

Closed 6 years ago

#2108 closed defect (fixed)

ST_Line_Interpolate_Point: exception on EMPTY input

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

Description

See this:

SELECT ST_Line_Interpolate_Point('LINESTRING EMPTY', 0.5);
ERROR:  getPoint4d_p: point offset out of range

I'd think a POINT EMPTY as result would be the correct answer instead

Change History (3)

comment:1 Changed 6 years ago by robe

Milestone: PostGIS 2.0.2PostGIS 2.0.3

comment:2 Changed 6 years ago by strk

Owner: changed from pramsey to strk
Status: newassigned

comment:3 Changed 6 years ago by strk

Keywords: history added
Milestone: PostGIS 2.0.3PostGIS 2.0.2
Resolution: fixed
Status: assignedclosed

r10757 in trunk r10758 in 2.0 branch

Note: See TracTickets for help on using tickets.