[postgis-tickets] [PostGIS] #2422: geography regression difference ST_DWithin

PostGIS trac at osgeo.org
Mon Aug 12 05:23:10 PDT 2013


#2422: geography regression difference ST_DWithin
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  high     |   Milestone:  PostGIS 2.1.0
Component:  postgis  |     Version:  2.1.x        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by robe):

 I ran this test on my isolated dataset that is within the region of the
 error and this shows the geographies in question I think:


 {{{
 SELECT id FROM face
 WHERE _ST_DWithinUnCached(geog, st_setsrid(st_makepoint(-71.0636,
 42.3584), 4326)::geography, 1609.344 )
   AND NOT _ST_DWithin(geog, st_setsrid(st_makepoint(-71.0636, 42.3584),
 4326)::geography, 1609.344,true );
 }}}

 Yields:


 {{{
    id
 --------
  212164
   12301
 }}}

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