Opened 11 years ago
Closed 11 years ago
#2726 closed defect (fixed)
[raster]: POSTGIS_GDAL_ENABLED_DRIVERS not picking up all drivers listed
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 )
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 (13)
comment:1 by , 11 years ago
Description: | modified (diff) |
---|
comment:2 by , 11 years ago
Keywords: | windows added |
---|
comment:3 by , 11 years ago
comment:4 by , 11 years ago
Even worse news. If I compile postgis with --enable-debug and then run
SELECT * FROM ST_GDALDrivers();
It crashes my server process. At least it does it for both mingw and EDB so I have hope of determining where its happening with gdb.
comment:5 by , 11 years ago
Hmm seems to crash also if I run postgis_full_version(), but not postgis_version(). I think it's the postgis_raster_lib_version() doing it.
Anyrate I ran:
SELECT * FROM ST_GDALDrivers();
and backtrace of crash looks like this:
#0 0x000007fefd8e5a01 in strlen () from C:\Windows\system32\msvcrt.dll #1 0x000000000074df39 in fmtstr (target=0x23ce320, pointflag=<optimized out>, maxwidth=0, minlen=0, leftjust=0, value=0x0) at snprintf.c:779 #2 dopr (target=target@entry=0x23ce320, format=0x39b131 "", args=0x23ce458 "A4ñü_\a", args@entry=0x23ce438 "") at snprintf.c:714 #3 0x000000000074e13f in pg_vsnprintf (str=<optimized out>, count=count@entry=1023, fmt=fmt@entry=0x39b118 "[%s:%s:%d] GDAL_SKIP = %s", args=args@entry=0x23ce438 "") at snprintf.c:154 #4 0x000000000057c0b1 in appendStringInfoVA (str=str@entry=0x23ce3e0, fmt=fmt@entry=0x39b118 "[%s:%s:%d] GDAL_SKIP = %s", args=args@entry=0x23ce438 "") at stringinfo.c:137 #5 0x000000000071607f in errmsg_internal (fmt=fmt@entry=0x68701c5f "[%s:%s:%d] GDAL_SKIP = %s") at elog.c:821 #6 0x0000000068684826 in rtpg_assignHookGDALEnabledDrivers () at rt_pg.c:112 #7 _PG_init () at rt_pg.c:237 #8 0x0000000000719b0c in internal_load_library (libname=libname@entry=0x4869818 "C:/ming64gcc48/projects/postgresql/rel/pg9.3w64gcc48/lib/rtpostgis-2.1.dll") at dfmgr.c:284 #9 0x000000000071a531 in load_external_function (filename=filename@entry=0x48b8e10 "$libdir/rtpostgis-2.1", funcname=funcname@entry=0x48b8dd8 "RASTER_getGDALDrivers", signalNotFound=signalNotFound@entry #10 0x000000000071b1ed in fmgr_info_C_lang (procedureTuple=0x4836c80, finfo=0x4868bb0, functionId=23562) at fmgr.c:350 #11 fmgr_info_cxt_security (functionId=functionId@entry=23562, finfo=finfo@entry=0x4868bb0, mcxt=mcxt@entry=0x4863be0, ignore_security=ignore_security@entry=0 '\000') at fmgr.c:281 #12 0x000000000071b508 in fmgr_info_cxt (functionId=functionId@entry=23562, finfo=finfo@entry=0x4868bb0, mcxt=mcxt@entry=0x4863be0) at fmgr.c:172 #13 0x0000000000556592 in init_fcache (foid=23562, input_collation=0, fcache=fcache@entry=0x4868b90, fcacheCxt=0x4863be0, needDescForSets=needDescForSets@entry=0 '\000') at execQual.c:1310 #14 0x000000000055b0ea in ExecMakeTableFunctionResult (funcexpr=0x4868b90, econtext=0x4867b68, expectedDesc=0x4868720, randomAccess=0 '\000') at execQual.c:2091 #15 0x000000000056ed97 in FunctionNext (node=0x4867a50) at nodeFunctionscan.c:64 #16 0x000000000055cfa6 in ExecScanFetch (recheckMtd=0x56ed20 <FunctionRecheck>, accessMtd=0x56ed30 <FunctionNext>, node=0x4867a50) at execScan.c:82 #17 ExecScan (node=node@entry=0x4867a50, accessMtd=accessMtd@entry=0x56ed30 <FunctionNext>, recheckMtd=recheckMtd@entry=0x56ed20 <FunctionRecheck>) at execScan.c:132 #18 0x000000000056edc3 in ExecFunctionScan (node=node@entry=0x4867a50) at nodeFunctionscan.c:107 #19 0x0000000000555898 in ExecProcNode (node=node@entry=0x4867a50) at execProcnode.c:426 #20 0x0000000000552a0c in ExecutePlan (dest=0x48b51d0, direction=<optimized out>, numberTuples=0, sendTuples=1 '\001', operation=CMD_SELECT, planstate=0x4867a50, estate=0x4867938) at execMain.c:1470 #21 standard_ExecutorRun (queryDesc=0x4843618, direction=<optimized out>, count=0) at execMain.c:306 #22 0x00000000006441a6 in PortalRunSelect (portal=portal@entry=0x4855878, forward=forward@entry=1 '\001', count=count@entry=0, dest=dest@entry=0x4855878) at pquery.c:946 #23 0x0000000000645876 in PortalRun (portal=0x23ceea0, portal@entry=0x4855878, count=0, count@entry=2147483647, isTopLevel=isTopLevel@entry=0 '\000', dest=0x4855878, dest@entry=0x48b51d0, altdest=altdest completionTag@entry=0x40000000020 <Address 0x40000000020 out of bounds>) at pquery.c:790 #24 0x0000000000643146 in exec_simple_query (query_string=0x7fefd8e3fc0 <msvcrt!__iob_func> "H\215\005\271ê\a") at postgres.c:1048 #25 PostgresMain (argc=<optimized out>, argv=argv@entry=0x39aa68, dbname=0x17 <Address 0x17 out of bounds>, username=<optimized out>) at postgres.c:3985 #26 0x00000000005f6b41 in BackendRun (port=0x23cf410) at postmaster.c:3999 #27 SubPostmasterMain (argc=argc@entry=3, argv=argv@entry=0x2f7de0) at postmaster.c:4504 #28 0x000000000075fb29 in main (argc=3, argv=0x2f7de0) at main.c:173
comment:6 by , 11 years ago
okay I was able to get past the crash by applying the cludge I described in #2729 and after that, this is what the debug notices look like after calling
SELECT short_name FROM ST_GDALDrivers();
When I have my env
@SET POSTGIS_GDAL_ENABLED_DRIVERS="EHdr GTiff PNG JPEG GIF XYZ"
Output looks like this:
GTiff PNG JPEG GIF
NOTICE: [rt_api.c:rt_raster_gdal_drivers:8997] rt_raster_gdal_driver: driver GTiff (0) supports CreateCopy() and VirtualIO() NOTICE: [rt_api.c:rt_raster_gdal_drivers:8997] rt_raster_gdal_driver: driver PNG (1) supports CreateCopy() and VirtualIO() NOTICE: [rt_api.c:rt_raster_gdal_drivers:8997] rt_raster_gdal_driver: driver JPEG (2) supports CreateCopy() and VirtualIO() NOTICE: [rt_api.c:rt_raster_gdal_drivers:8997] rt_raster_gdal_driver: driver GIF (3) supports CreateCopy() and VirtualIO() NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11705] 4 drivers returned NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11745] Result 0 NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11754] Result 0, Index 0 NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11755] Result 0, Short Name GTiff NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11756] Result 0, Full Name GeoTIFF NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11745] Result 1 NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11754] Result 1, Index 1 NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11755] Result 1, Short Name PNG NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11756] Result 1, Full Name Portable Network Graphics NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11745] Result 2 NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11754] Result 2, Index 2 NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11755] Result 2, Short Name JPEG NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11756] Result 2, Full Name JPEG JFIF NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11745] Result 3 NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11754] Result 3, Index 3 NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11755] Result 3, Short Name GIF NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11756] Result 3, Full Name Graphics Interchange Format (.gif)
If I run
SELECT postgis_raster_lib_version();
I get:
2.1.3dev r12521
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:113] enabled_drivers = "EHdr GTiff PNG JPEG GIF XYZ" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:161] driver count = 102 NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:216] gdal_skip = VRT NITF RPFTOC ECRGTOC HFA SAR_CEOS CEOS JAXAPALSAR GFF ELAS AIG AAIGrid GRASSASCIIGrid SDTS DTED MEM JDEM 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 EHdr 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 XYZ HF2 PDF OZI CTG E00GRID ZMap NGSGEOID IRIS NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:225] GDAL_SKIP = VRT NITF RPFTOC ECRGTOC HFA SAR_CEOS CEOS JAXAPALSAR GFF ELAS AIG AAIGrid GRASSASCIIGrid SDTS DTED MEM JDEM 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 EHdr 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 XYZ HF2 PDF OZI CTG E00GRID ZMap NGSGEOID IRIS
I see that XYZ and EHDr are in the GDAL_SKIP output. How the heck did they get there? I presume that is why they are not coming out as my available drivers or is GDAL_SKIP + GDAL_ENABLED always = SUM(ALL drivers you have)
comment:7 by , 11 years ago
Thanks for the detailed output. I can start digging...
You are correct about GDAL_SKIP + GDAL_ENABLED = SUM(all available drivers)
comment:8 by , 11 years ago
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.
comment:9 by , 11 years ago
Definitely an issue with the strcmp line... probably with the enabled_drivers_array.
comment:10 by , 11 years ago
Status: | new → assigned |
---|
Can you try r12524? It won't fix anything but will tell us what exactly could be failing...
comment:11 by , 11 years ago
It seems to break at the strcmp line, but I don't think that's the issue.
It's the parsing :)
Note the GTiff gets caught by strstr test, but fails the strcmp test. BUT -- look at this:
NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:126] enabled_drivers_array[0] = ""GTiff"
Notice the extra " at the beginning.
I guess I was doing something wrong. duh -- I was able to fix the issue by changing my environment variable to
@SET POSTGIS_GDAL_ENABLED_DRIVERS=GTiff EHdr PNG XYZ JPEG GIF
Also note that
-- 2.1.3dev r12525 -- @SET POSTGIS_GDAL_ENABLED_DRIVERS="GTiff EHdr PNG XYZ JPEG GIF" SELECT short_name FROM ST_GDALDrivers(); PNG JPEG EHdr XYZ
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:124] enabled_drivers_count = 6 NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:126] enabled_drivers_array[0] = ""GTiff" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:126] enabled_drivers_array[1] = "EHdr" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:126] enabled_drivers_array[2] = "PNG" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:126] enabled_drivers_array[3] = "XYZ" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:126] enabled_drivers_array[4] = "JPEG" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:126] enabled_drivers_array[5] = "GIF"" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:167] driver count = 102 NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[0] = "VRT" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[1] = "GTiff" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:177] "GTiff" found in gdal_enabled_drivers NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[2] = "NITF" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[3] = "RPFTOC" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[4] = "ECRGTOC" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[5] = "HFA" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[6] = "SAR_CEOS" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[7] = "CEOS" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[8] = "JAXAPALSAR" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[9] = "GFF" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[10] = "ELAS" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[11] = "AIG" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[12] = "AAIGrid" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[13] = "GRASSASCIIGrid" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[14] = "SDTS" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[15] = "DTED" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[16] = "PNG" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:177] "PNG" found in gdal_enabled_drivers NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:182] "PNG" found in enabled_drivers_array NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[17] = "JPEG" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:177] "JPEG" found in gdal_enabled_drivers NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:182] "JPEG" found in enabled_drivers_array NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[18] = "MEM" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[19] = "JDEM" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[20] = "GIF" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:177] "GIF" found in gdal_enabled_drivers NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[21] = "BIGGIF" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[22] = "ESAT" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[23] = "BSB" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[24] = "XPM" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[25] = "BMP" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[26] = "DIMAP" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[27] = "AirSAR" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[28] = "RS2" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[29] = "PCIDSK" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[30] = "PCRaster" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[31] = "ILWIS" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[32] = "SGI" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[33] = "SRTMHGT" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[34] = "Leveller" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[35] = "Terragen" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[36] = "ISIS3" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[37] = "ISIS2" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[38] = "PDS" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[39] = "TIL" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[40] = "ERS" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[41] = "L1B" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[42] = "FIT" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[43] = "GRIB" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[44] = "RMF" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[45] = "MSGN" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[46] = "RST" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[47] = "INGR" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[48] = "GSAG" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[49] = "GSBG" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[50] = "GS7BG" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[51] = "COSAR" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[52] = "TSX" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[53] = "COASP" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[54] = "R" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[55] = "MAP" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[56] = "PNM" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[57] = "DOQ1" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[58] = "DOQ2" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[59] = "ENVI" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[60] = "EHdr" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:177] "EHdr" found in gdal_enabled_drivers NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:182] "EHdr" found in enabled_drivers_array NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[61] = "GenBin" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[62] = "PAux" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[63] = "MFF" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[64] = "MFF2" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[65] = "FujiBAS" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[66] = "GSC" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[67] = "FAST" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[68] = "BT" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[69] = "LAN" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[70] = "CPG" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[71] = "IDA" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[72] = "NDF" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[73] = "EIR" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[74] = "DIPEx" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[75] = "LCP" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[76] = "GTX" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[77] = "LOSLAS" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[78] = "NTv2" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[79] = "CTable2" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[80] = "ACE2" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[81] = "SNODAS" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[82] = "ARG" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[83] = "RIK" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[84] = "USGSDEM" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[85] = "GXF" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[86] = "NWT_GRD" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[87] = "NWT_GRC" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[88] = "ADRG" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[89] = "SRP" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[90] = "BLX" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[91] = "SAGA" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[92] = "KMLSUPEROVERLAY" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[93] = "XYZ" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:177] "XYZ" found in gdal_enabled_drivers NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:182] "XYZ" found in enabled_drivers_array NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[94] = "HF2" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[95] = "PDF" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[96] = "OZI" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[97] = "CTG" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[98] = "E00GRID" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[99] = "ZMap" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[100] = "NGSGEOID" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:171] drv_set[101] = "IRIS" NOTICE: [rt_pg.c:rtpg_assignHookGDALEnabledDrivers:225] 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:234] 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:11714] 4 drivers returned NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11754] Result 0 NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11763] Result 0, Index 0 NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11764] Result 0, Short Name PNG NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11765] Result 0, Full Name Portable Network Graphics NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11754] Result 1 NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11763] Result 1, Index 1 NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11764] Result 1, Short Name JPEG NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11765] Result 1, Full Name JPEG JFIF NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11754] Result 2 NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11763] Result 2, Index 2 NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11764] Result 2, Short Name EHdr NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11765] Result 2, Full Name ESRI .hdr Labelled NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11754] Result 3 NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11763] Result 3, Index 3 NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11764] Result 3, Short Name XYZ NOTICE: [rt_pg.c:RASTER_getGDALDrivers:11765] Result 3, Full Name ASCII Gridded XYZ
comment:12 by , 11 years ago
Can you try r12526? That'll emit WARNING messages for those user-input that doesn't match any known GDAL driver name.
comment:13 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
works for me. If I quote now gives warning:
WARNING: Unknown GDAL driver: "GTiff WARNING: Unknown GDAL driver: GIF"
sadly still a problem as of:
this is testing on both my 32-bit and 64-bit windows install.