Opened 12 years ago

Closed 12 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 by robe, 12 years ago

Milestone: PostGIS 2.0.2PostGIS 2.0.3

comment:2 by strk, 12 years ago

Owner: changed from pramsey to strk
Status: newassigned

comment:3 by strk, 12 years ago

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.