Opened 10 years ago

Last modified 10 years ago

#2726 closed defect

[raster]: POSTGIS_GDAL_ENABLED_DRIVERS not picking up all drivers listed — at Initial Version

Reported by: robe Owned by: Bborie Park
Priority: blocker Milestone: PostGIS 2.1.3
Component: raster Version: 2.1.x
Keywords: windows Cc:

Description

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?

Change History (0)

Note: See TracTickets for help on using tickets.