[postgis-devel] [PostGIS] #1271: ST_Line_Locate_Point inaccurate closest point

PostGIS trac at osgeo.org
Tue Nov 8 00:43:29 PST 2011


#1271: ST_Line_Locate_Point inaccurate closest point
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  strk         
     Type:  defect   |      Status:  assigned     
 Priority:  high     |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by strk):

 That doesn't fix.
 It is the equality comparison that puzzles me:
                 ( proj.x == end.x) && (proj.y == end.y)

 End should be the last point and proj would be the return from
 closest_point_on_segment

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1271#comment:3>
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