<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hi,</span><div style="font-family:arial,sans-serif;font-size:13px">  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).</div><div style="font-family:arial,sans-serif;font-size:13px"> The code is tested and runs fine without memory leak.</div><div style="font-family:arial,sans-serif;font-size:13px"> However I do get an error upon calling GDALClose(hdst_ds) :  </div><div style="font-family:arial,sans-serif;font-size:13px">      <u>ERROR 6: WriteBlock() not supported for this dataset</u>. </div><div style="font-family:arial,sans-serif;font-size:13px"> GDALClose calls FlushCache which calls WriteBlock.</div><div style="font-family:arial,sans-serif;font-size:13px"> Just wanting to get some insight on this error. And possibly how to avoid it.</div><div style="font-family:arial,sans-serif;font-size:13px">Thanks, </div><div style="font-family:arial,sans-serif;font-size:13px">David</div></div>