[gdal-dev] VRTWarpedDataset with ChunkandWarpImage
Even Rouault
even.rouault at spatialys.com
Mon Oct 27 15:21:58 PDT 2014
Le lundi 27 octobre 2014 22:42:11, David Olson a écrit :
> Hi,
> I've set up a c++ code which creates a VRTWarpedDataset from a source
> image then uses ChunkAndWarpImage to warp additional source images and
> create a mosaic with the VRTWarpedDataset destination (hdst_ds).
> The code is tested and runs fine without memory leak.
> However I do get an error upon calling GDALClose(hdst_ds) :
> *ERROR 6: WriteBlock() not supported for this dataset*.
> GDALClose calls FlushCache which calls WriteBlock.
> Just wanting to get some insight on this error. And possibly how to avoid
> it.
David,
Difficult to tell without a reproducable snippet. But my guess is that you have
an issue with setting up alpha band. Perhaps you have not defined nDstAlphaBand
in the warping options ?
Even
--
Spatialys - Geospatial professional services
http://www.spatialys.com
More information about the gdal-dev
mailing list