[gdal-dev] gdal_translate: GDAL: Should not happen. Cannot find laea_grid.asc

Hermann Peifer peifer at gmx.eu
Wed Dec 8 05:45:33 EST 2010


Hi,

This is most likely a minor issue, but it looks to me that the above 
"should not happen" message always appears when gdal_translating a .vrt 
file that refers to an .asc file. There are 2 GDALClose() for the .asc.

Hermann



$ gdal_translate --debug on laea_grid.vrt laea_grid.tif \
     -co compress=lzw -co tiled=yes

GDAL: GDALOpen(laea_grid.vrt, this=0x236e6d0) succeeds as VRT.
Input file size is 10000, 10000
0GDAL: GDALDefaultOverviews::OverviewScan()
GDAL: GDALOpen(GTIFF_RAW:laea_grid.tif, this=0x2372180) succeeds as GTiff.
GDAL: GDALDatasetCopyWholeRaster(): 9728*256 swaths, bInterleave=0
AAIGrid: Loaded SRS from laea_grid.prj
GDAL: GDALOpen(laea_grid.asc, this=0x24324b0) succeeds as AAIGrid.
...10...20...30...40...50...60...70...80...90...100 - done.
GDAL: GDALClose(laea_grid.tif, this=0x2372180)
GDAL: GDALClose(laea_grid.vrt, this=0x236e6d0)
GDAL: GDALClose(laea_grid.asc, this=0x24324b0)
GDAL: GDALClose(laea_grid.asc, this=0x2371ad0)
GDAL: Should not happen. Cannot find laea_grid.asc, this=0x2371ad0 in 
phSharedDatasetSet
GDAL: GDALDeregister_GTiff() called.




More information about the gdal-dev mailing list