[postgis-devel] [PostGIS] #1269: Line_Locate_Point robustness(g, EndPoint(g)) != 1

PostGIS trac at osgeo.org
Mon Nov 7 08:10:59 PST 2011


#1269: Line_Locate_Point robustness(g, EndPoint(g)) != 1
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  high     |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
 Robustness issues with ST_Line_Locate_Point make it hard to use it for
 noding:

 {{{
 =# with i as ( select
 '0102000000020000000000000000000000000000000000084000000000000034400000000000001040'::geometry
 as g ) select st_astext(g), st_line_locate_point(g, st_endpoint(g)) = 1
 from i;
       st_astext       | ?column?
 ----------------------+----------
  LINESTRING(0 3,20 4) | f
 (1 row)
 }}}

 This is on a 32bit system with PostGIS trunk.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1269>
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