[postgis-tickets] [PostGIS] #2534: st_distance is returning incorrect results for large geographies

PostGIS trac at osgeo.org
Wed Feb 5 12:03:29 PST 2014


#2534: st_distance is returning incorrect results for large geographies
------------------------------------+---------------------------------------
 Reporter:  samuelb                 |       Owner:  pramsey      
     Type:  defect                  |      Status:  new          
 Priority:  medium                  |   Milestone:  PostGIS 2.1.2
Component:  postgis                 |     Version:  2.0.x        
 Keywords:  st_distance, geography  |  
------------------------------------+---------------------------------------

Comment(by pramsey):

 I'm really rather shocked this didn't come to light sooner, and now I need
 to backtrack a bit and see how long this problem has been around.
 Basically a couple algorithms attempt to test edge crossing without
 actually computing intersection points. And the code there now mistakes
 antipodal edges as crossing cases. Amazing. What idiot wrote that? (oh,
 right)

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2534#comment:5>
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-tickets mailing list