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.


_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to