[postgis-devel] [PostGIS] #2108: ST_Line_Interpolate_Point: exception on EMPTY input

PostGIS trac at osgeo.org
Tue Nov 27 04:12:48 PST 2012


#2108: ST_Line_Interpolate_Point: exception on EMPTY input
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.2
Component:  postgis  |     Version:  2.0.x        
 Keywords:           |  
---------------------+------------------------------------------------------
 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

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2108>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list