[postgis-devel] [PostGIS] #318: 900913->4326 Transform

PostGIS trac at osgeo.org
Fri Aug 26 03:41:46 PDT 2011


#318: 900913->4326 Transform
---------------------+------------------------------------------------------
 Reporter:  pramsey  |       Owner:  mcayland     
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 1.4.3
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
Changes (by kbayram):

 * cc: kbayram (added)


Comment:

 I came across this bug and Google brought me here.  I've managed to fix
 the problem in my case and it turns out it was a extremely trivial
 problem.

 If you do a "select * from spatial_ref_sys where srid = 900913;" in psql
 you may notice that the text in the srtext and proj4text has line feeds.
 It turns out that proj4 does not like these and anything after the first
 line in the proj4text field is ignored, namely the important
 nadgrids=@null which causes the error.

 Removing the line feeds solved the problem for me.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/318#comment:26>
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-devel mailing list