[postgis-tickets] [PostGIS] #2363: st_distance with an added Integer value is not working in 2.0

PostGIS trac at osgeo.org
Mon Jun 17 12:42:29 PDT 2013


#2363: st_distance with an added Integer value is not working in 2.0
---------------------+------------------------------------------------------
 Reporter:  vbalent  |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  blocker  |   Milestone:  PostGIS 2.1.0
Component:  postgis  |     Version:  2.0.x        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by robe):

 Val,

 Minor suggestion, you should be using ST_DWithin(geom1,geom2,5280) instead
 of sT_Distance because ST_Distance will never use an index.

 That aside these issues are often caused by missing nadgrid files.  An
 easy verification:


 {{{
 SELECT ST_AsText(ST_Transform(ST_POINTFROMTEXT('POINT(-73.76545859999999
 42.658618)', 4326), 2260));
 }}}


 on both systems and verify they return the same answer.

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