[postgis-tickets] [PostGIS] #1678: [raster] GDAL_DATA dependency

PostGIS trac at osgeo.org
Wed Nov 6 11:44:01 PST 2013


#1678: [raster] GDAL_DATA dependency
---------------------+------------------------------------------------------
  Reporter:  robe    |       Owner:  pracine      
      Type:  defect  |      Status:  reopened     
  Priority:  medium  |   Milestone:  PostGIS 2.2.0
 Component:  raster  |     Version:  trunk        
Resolution:          |    Keywords:  history      
---------------------+------------------------------------------------------
Changes (by edechaux):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 I have tested this fix on postigs 2.1.0 and postgresql 9.2.4.

 While using the parameter '''postgis.gdal.datapath''' from a pqsql session
 works, the double dot in the name prevents it from being set in the
 postgresql.conf file. Upon pg startup, the following error is shown :

 {{{
 LOG:  syntax error in file "/home/edechaux/test_postgis/postgresql.conf"
 line 574, near token "postgis.gdal.datapath"
 FATAL:  configuration file "/home/edechaux/test_postgis/postgresql.conf"
 contains errors
 }}}

 I suggest the parameter name to be changed to '''postgis.gdal_datapath'''.
 The pg server starts up without warning/error and the parameter is still
 working properly :


 {{{
 edechaux=# select current_setting('postgis.gdal_datapath');
            current_setting
 -------------------------------------
  /appli/pgsql/idicsi_2.0/share/gdal/
 (1 row)

 }}}



 {{{
 edechaux=# select postgis_full_version();
 postgis_full_version
 -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  POSTGIS="2.1.0 r11822" GEOS="3.4.2-CAPI-1.8.2 r3921" PROJ="Rel. 4.8.0, 6
 March 2012" GDAL="GDAL 1.10.1, released 2013/08/26" LIBXML="2.7.6"
 LIBJSON="UNKNOWN" TOPOLOGY RASTER
 (1 row)
 }}}

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