[postgis-tickets] [PostGIS] #2901: raster gives confusing SRID message when GDAL_DATA path not set (was: raster trying to use strange SRID)

PostGIS trac at osgeo.org
Mon Sep 8 15:43:29 PDT 2014


#2901: raster gives confusing  SRID message when GDAL_DATA path not set
--------------------+-------------------------------------------------------
 Reporter:  robe    |       Owner:  dustymugs    
     Type:  defect  |      Status:  new          
 Priority:  medium  |   Milestone:  PostGIS 2.2.0
Component:  raster  |     Version:  trunk        
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by robe):

 I isolated the issue to it happens when my GDAL_DATA path is not set right
 and postgis_full_version() gives --  GDAL_DATA not found

 Couldn't figure out what was wrong with my path, so I retyped it and it
 worked.  That solved the error.

 I still think there is something wrong here though.  Why does it even talk
 about a non-existent SRID.  Almost like its confusing nodata value with an
 srid or something.

 Tested with:

 {{{
 POSTGIS="2.2.0dev r12953" GEOS="3.5.0dev-CAPI-1.9.0 r3989" SFCGAL="1.0.4"
 PROJ="Rel. 4.8.0, 6 March 2012" GDAL="GDAL 1.11.0, released 2014/04/16"
 LIBXML="2.7.8" LIBJSON="0.12" TOPOLOGY RASTER
 }}}

 and if I get rid of my path so I get:

 {{{

 POSTGIS="2.2.0dev r12953" GEOS="3.5.0dev-CAPI-1.9.0 r3989" SFCGAL="1.0.4"
 PROJ="Rel. 4.8.0, 6 March 2012" GDAL="GDAL 1.11.0, released 2014/04/16
 GDAL_DATA not found" LIBXML="2.7.8" LIBJSON="0.12" TOPOLOGY RASTER
 }}}

 Then this very confusing message comes up.

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