[postgis-devel] [PostGIS] #1264: st_dwithin(geog, geog, 0) doesn't work?

PostGIS trac at osgeo.org
Wed Apr 25 11:23:11 PDT 2012


#1264: st_dwithin(geog, geog, 0) doesn't work?
---------------------+------------------------------------------------------
 Reporter:  pramsey  |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  high     |   Milestone:  PostGIS 1.5.4
Component:  postgis  |     Version:  1.5.X        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by pramsey):

 {{{
 -- true
 select st_dwithin('POLYGON((-10 -10, -10 10, 10 10, 10 -10, -10
 -10))'::geography, 'POINT(0 0)'::geography, 0.1);
 -- false !??
 select st_dwithin('POLYGON((-10 -10, -10 10, 10 10, 10 -10, -10
 -10))'::geography, 'POINT(0 0)'::geography, 0);
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/1264#comment:1>
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