[postgis-tickets] [PostGIS] #2634: regression failure ST_DWithin between 2.0.4 and 2.1.2

PostGIS trac at osgeo.org
Tue Feb 4 16:07:26 PST 2014


#2634: regression failure ST_DWithin between 2.0.4 and 2.1.2
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.1.2
Component:  postgis  |     Version:  2.1.x        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by robe):

 First fails on my:

 {{{
 PostgreSQL 9.3rc1, compiled by Visual C++ build 1600, 64-bit
 POSTGIS="2.1.2dev r12221" GEOS="3.4.2-CAPI-1.8.2 r3924" PROJ="Rel. 4.8.0,
 6 March 2012" GDAL="GDAL 1.10.0, released 2013/04/24" LIBXML="2.7.8"
 LIBJSON="UNKNOWN" RASTER
 }}}

 as well.  2nd also fails on my 64-bit consistently when running n psql and
 pgAdmin


 {{{
 SELECT t1.gid As t1_gid, t2.gid As t2_gid

  , ST_DWithin(t1.geog, t2.geog,100)
  , ST_Distance(t1.geog, t2.geog) As dist
  , _ST_DistanceUncached(t1.geog,t2.geog) As dist_cache,
 _ST_DistanceTree(t1.geog
 , t2.geog) As dist_tree
 FROM test_geogs As t1 CROSS JOIN test_geogs As t2;
  t1_gid | t2_gid | st_dwithin |      dist       | dist_cache | dist_tree
 --------+--------+------------+-----------------+------------+-----------
       1 |      1 | t          |               0 |          0 |         0
       1 |      2 | f          | 75661.624157771 |          0 |         0
       2 |      1 | t          |               0 |          0 |         0
       2 |      2 | t          |               0 |          0 |         0
 (4 rows)
 }}}

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