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

PostGIS trac at osgeo.org
Tue Jun 18 12:56:24 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.0.4
Component:  postgis  |     Version:  2.0.x        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by vbalent):

 Hi,

 I did check the nadgrid files and they are both reporting the exact same
 return values in Windows Server and Linux.

 I am trying to keep this simple for now the SQL statement below, however
 The st_distance worked perfect from above, I know it does not utilize the
 Gist.
 But it works on Windows Server and not on Linux.


 This SQL statemant errors but I can not find a Sample code where I can say
 =5280 feet for a Mile Radius.

 SELECT * FROM PART_1_CRIMES
 WHERE ST_DWithin(geom, 'POINT(687884 1355669)', 2260)
 =5280.0;

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