[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 13:34:22 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 robe):

 I forgot to ask -- did you verify you get the same answer on both servers
 for this query -- I just tried my 1.5 and 2.0 installs on separate servers
 and got the same answer.


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

 -- answer  POINT(689696.298242221 1394398.10155405)
 }}}

 Its possible that even though you have nadfiles your proj environment
 variable is not set right to read it.  For windows it uses the
 contrib/postgis.. location if no proj environment variable is set.  I
 don't think this is the case for Linux and I can't remember off hand what
 the variable is called since I haven't had to set it in a while.

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