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

PostGIS trac at osgeo.org
Mon Mar 12 11:06:18 PDT 2012


#1678: [raster] GDAL_DATA dependency
--------------------+-------------------------------------------------------
 Reporter:  robe    |       Owner:  pracine      
     Type:  defect  |      Status:  new          
 Priority:  medium  |   Milestone:  PostGIS 2.1.0
Component:  raster  |     Version:  trunk        
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by pramsey):

 Assuming most linux builds will use a system GDAL and will therefore pick
 up GDAL_DATA automatically we're left really with packagers who need to
 override that behavior (windows). So maybe we can just hard-code a
 "../data" path in where desired. So an entry in postgis_config.h.in that,
 when non-empty, is used to set GDAL_DATA (wow, hacktastic) and we could
 add in a build-time configure option to force it later if the first level
 hack works. A moderately better approach would be to do it somewhere in
 libpgcommon, checking a PostgreSQL system variable (don't ask me...) that
 provides information about the install/run paths that we can leverage off
 of.

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