[postgis-tickets] [PostGIS] #2726: [raster]: POSTGIS_GDAL_ENABLED_DRIVERS not picking up all drivers listed

PostGIS trac at osgeo.org
Tue May 6 04:57:28 PDT 2014


#2726: [raster]: POSTGIS_GDAL_ENABLED_DRIVERS not picking up all drivers listed
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  dustymugs    
     Type:  defect   |      Status:  new          
 Priority:  blocker  |   Milestone:  PostGIS 2.1.3
Component:  raster   |     Version:  2.1.x        
 Keywords:           |  
---------------------+------------------------------------------------------
 This could be a windows only issue, but if set this environment variable:


 {{{
 @SET POSTGIS_GDAL_ENABLED_DRIVERS=ENABLE_ALL
 }}}

 and then do

 {{{
 SELECT short_name FROM ST_GDALDrivers()
 ORDER BY short_name;
 }}}

 I get:


 {{{
    short_name
 -----------------
  AAIGrid
  ARG
  DTED
  EHdr
  FIT
  GIF
  GS7BG
  GSAG
  GSBG
  GTiff
  HF2
  HFA
  ILWIS
  INGR
  JPEG
  KMLSUPEROVERLAY
  NITF
  PNG
  R
  RST
  SAGA
  SRTMHGT
  USGSDEM
  VRT
  XPM
  XYZ
  ZMap
 (27 rows)
 }}}

 However, If i set it like so:


 {{{
 @SET POSTGIS_GDAL_ENABLED_DRIVERS="EHdr GTiff PNG JPEG GIF XYZ"
 }}}


 {{{
  short_name
 ------------
  GIF
  GTiff
  JPEG
  PNG
 (4 rows)
 }}}

 Note the absence of EHdr and XYZ.  Are those dependent on other drivers?

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