[postgis-tickets] [PostGIS] #2743: [raster]: postgis.gdal_path not working (windows 9.4 64-bit)

PostGIS trac at osgeo.org
Mon May 19 18:28:33 PDT 2014


#2743: [raster]: postgis.gdal_path not working (windows 9.4 64-bit)
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  dustymugs    
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.2.0
Component:  raster   |     Version:  trunk        
 Keywords:  windows  |  
---------------------+------------------------------------------------------
 I thought I had tried this on lower before but perhaps not.  I very well
 might be doing something really stupid.

 I tried doing this:


 {{{
 ALTER DATABASE testpostgis22
   SET postgis.gdal_datapath =
 'C:/ming64gcc48/projects/postgresql/rel/pg9.4w64gcc48edb/gdal-data';
 }}}

 Which is where I think my path is and it seems to just ignore it.  Get the
 GDAL Data not found error.  Tried also setting at session level and
 doesn't seem to do anything.

 So back to setting in my batch script:


 {{{
 @SET GDAL_DATA=%~dp0\gdal-data
 }}}

 I'll check my 9.3.

 The other GUC variables work fine even with using the new ALTER SYSTEM
 feature.  So doesn't seem to be anything wrong with the GUC machinery.


 {{{
 ALTER SYSTEM SET postgis.gdal_enabled_drivers TO 'ENABLE_ALL';
 }}}

 If you are not seeing an issue, I'll confirm to make sure I didn't make
 any typos or it's not the direction of / which is different when I set in
 batch script.

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