Opened 10 years ago

Last modified 10 years ago

#2726 closed defect

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

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

Description (last modified by robe)

This could be a windows only issue, but if set this environment variable:

Running:

POSTGIS="2.1.3dev r12510" GEOS="3.4.2-CAPI-1.8.2 r3924" PROJ="Rel. 4.8.0, 6 March 2012" GDAL="GDAL 1.10.0, released 2013/04/24 GDAL_DATA not found" LIBXML="2.7.8" LIBJSON="UNKNOWN" RASTER PostgreSQL 9.3rc1, compiled by Visual C++ build 1600, 32-bit
@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 (1)

comment:1 by robe, 10 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.