[postgis-tickets] [PostGIS] #2726: [raster]: POSTGIS_GDAL_ENABLED_DRIVERS not picking up all drivers listed
PostGIS
trac at osgeo.org
Fri May 9 12:29:31 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: windows |
---------------------+------------------------------------------------------
Comment(by robe):
okee with more output
When I run:
{{{
@SET POSTGIS_GDAL_ENABLED_DRIVERS="GTiff EHdr PNG XYZ JPEG GIF"
SELECT short_name FROM ST_GDALDrivers();
PNG
JPEG
EHdr
XYZ
}}}
The debug out notice looks like:
{{{
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:112] GDAL_SKIP =
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:113] enabled_drivers =
"GTiff EHdr PNG XYZ JPEG GIF"
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:161] driver count =
102
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[0] = VRT
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[1] =
GTiff
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] GTiff found in
gdal_enabled_drivers
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[2] = NITF
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[3] =
RPFTOC
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[4] =
ECRGTOC
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[5] = HFA
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[6] =
SAR_CEOS
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[7] = CEOS
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[8] =
JAXAPALSAR
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[9] = GFF
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[10] =
ELAS
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[11] = AIG
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[12] =
AAIGrid
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[13] =
GRASSASCIIGrid
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[14] =
SDTS
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[15] =
DTED
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[16] = PNG
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] PNG found in
gdal_enabled_drivers
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:176] PNG found
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[17] =
JPEG
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] JPEG found in
gdal_enabled_drivers
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:176] JPEG found
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[18] = MEM
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[19] =
JDEM
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[20] = GIF
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] GIF found in
gdal_enabled_drivers
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[21] =
BIGGIF
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[22] =
ESAT
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[23] = BSB
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[24] = XPM
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[25] = BMP
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[26] =
DIMAP
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[27] =
AirSAR
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[28] = RS2
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[29] =
PCIDSK
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[30] =
PCRaster
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[31] =
ILWIS
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[32] = SGI
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[33] =
SRTMHGT
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[34] =
Leveller
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[35] =
Terragen
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[36] =
ISIS3
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[37] =
ISIS2
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[38] = PDS
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[39] = TIL
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[40] = ERS
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[41] = L1B
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[42] = FIT
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[43] =
GRIB
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[44] = RMF
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[45] =
MSGN
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[46] = RST
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[47] =
INGR
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[48] =
GSAG
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[49] =
GSBG
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[50] =
GS7BG
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[51] =
COSAR
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[52] = TSX
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[53] =
COASP
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[54] = R
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[55] = MAP
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[56] = PNM
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[57] =
DOQ1
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[58] =
DOQ2
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[59] =
ENVI
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[60] =
EHdr
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] EHdr found in
gdal_enabled_drivers
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:176] EHdr found
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[61] =
GenBin
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[62] =
PAux
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[63] = MFF
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[64] =
MFF2
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[65] =
FujiBAS
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[66] = GSC
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[67] =
FAST
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[68] = BT
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[69] = LAN
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[70] = CPG
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[71] = IDA
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[72] = NDF
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[73] = EIR
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[74] =
DIPEx
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[75] = LCP
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[76] = GTX
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[77] =
LOSLAS
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[78] =
NTv2
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[79] =
CTable2
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[80] =
ACE2
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[81] =
SNODAS
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[82] = ARG
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[83] = RIK
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[84] =
USGSDEM
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[85] = GXF
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[86] =
NWT_GRD
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[87] =
NWT_GRC
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[88] =
ADRG
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[89] = SRP
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[90] = BLX
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[91] =
SAGA
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[92] =
KMLSUPEROVERLAY
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[93] = XYZ
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] XYZ found in
gdal_enabled_drivers
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:176] XYZ found
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[94] = HF2
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[95] = PDF
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[96] = OZI
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[97] = CTG
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[98] =
E00GRID
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[99] =
ZMap
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[100] =
NGSGEOID
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:165] drv_set[101] =
IRIS
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:219] gdal_skip = VRT
GTiff NITF RPFTOC ECRGTOC HFA SAR_CEOS CEOS JAXAPALSAR GFF ELAS AIG
AAIGrid GRASSASCIIGrid SDTS DTED MEM JDEM GIF BIGGIF ESAT BSB XPM BMP
DIMAP AirSAR RS2 PCIDSK PCRaster ILWIS SGI SRTMHGT Leveller Terragen ISIS3
ISIS2 PDS TIL ERS L1B FIT GRIB RMF MSGN RST INGR GSAG GSBG GS7BG COSAR TSX
COASP R MAP PNM DOQ1 DOQ2 ENVI GenBin PAux MFF MFF2 FujiBAS GSC FAST BT
LAN CPG IDA NDF EIR DIPEx LCP GTX LOSLAS NTv2 CTable2 ACE2 SNODAS ARG RIK
USGSDEM GXF NWT_GRD NWT_GRC ADRG SRP BLX SAGA KMLSUPEROVERLAY HF2 PDF OZI
CTG E00GRID ZMap NGSGEOID IRIS
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:228] GDAL_SKIP = VRT
GTiff NITF RPFTOC ECRGTOC HFA SAR_CEOS CEOS JAXAPALSAR GFF ELAS AIG
AAIGrid GRASSASCIIGrid SDTS DTED MEM JDEM GIF BIGGIF ESAT BSB XPM BMP
DIMAP AirSAR RS2 PCIDSK PCRaster ILWIS SGI SRTMHGT Leveller Terragen ISIS3
ISIS2 PDS TIL ERS L1B FIT GRIB RMF MSGN RST INGR GSAG GSBG GS7BG COSAR TSX
COASP R MAP PNM DOQ1 DOQ2 ENVI GenBin PAux MFF MFF2 FujiBAS GSC FAST BT
LAN CPG IDA NDF EIR DIPEx LCP GTX LOSLAS NTv2 CTable2 ACE2 SNODAS ARG RIK
USGSDEM GXF NWT_GRD NWT_GRC ADRG SRP BLX SAGA KMLSUPEROVERLAY HF2 PDF OZI
CTG E00GRID ZMap NGSGEOID IRIS
NOTICE: [rt_api.c:rt_raster_gdal_drivers:8997] rt_raster_gdal_driver:
driver PNG (0) supports CreateCopy() and VirtualIO()
NOTICE: [rt_api.c:rt_raster_gdal_drivers:8997] rt_raster_gdal_driver:
driver JPEG (1) supports CreateCopy() and VirtualIO()
NOTICE: [rt_api.c:rt_raster_gdal_drivers:8997] rt_raster_gdal_driver:
driver EHdr (2) supports CreateCopy() and VirtualIO()
NOTICE: [rt_api.c:rt_raster_gdal_drivers:8997] rt_raster_gdal_driver:
driver XYZ (3) supports CreateCopy() and VirtualIO()
NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11708] 4 drivers returned
NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11748] Result 0
NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11757] Result 0, Index 0
NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11758] Result 0, Short Name PNG
NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11759] Result 0, Full Name
Portable Network Graphics
NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11748] Result 1
NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11757] Result 1, Index 1
NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11758] Result 1, Short Name JPEG
NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11759] Result 1, Full Name JPEG
JFIF
NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11748] Result 2
NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11757] Result 2, Index 2
NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11758] Result 2, Short Name EHdr
NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11759] Result 2, Full Name ESRI
.hdr Labelled
NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11748] Result 3
NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11757] Result 3, Index 3
NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11758] Result 3, Short Name XYZ
NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11759] Result 3, Full Name ASCII
Gridded XYZ
Total query runtime: 34 ms.
4 rows retrieved.
}}}
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2726#comment:8>
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