[postgis-devel] [PostGIS] #562: ST_DWithin gives wrong answer

PostGIS trac at osgeo.org
Tue Aug 10 12:33:35 PDT 2010


#562: ST_DWithin gives wrong answer
---------------------+------------------------------------------------------
 Reporter:  pramsey  |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  high     |   Milestone:  PostGIS 1.5.2
Component:  postgis  |     Version:  1.5.X        
 Keywords:           |  
---------------------+------------------------------------------------------
 The following query returns the wrong answer:
 {{{
 select st_dwithin(
   'POLYGON( (-40.0 52.0, 102.0 -6.0, -67.0 -29.0, -40.0
 52.0))'::geography,
   'POINT(11 4)'::geography,
   0.01);
 }}}

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