When get a Dataset Object back from the gdal.AutoCreateWarpedVRT(dataset) call do I need to call delete on the warped dataset and the original dataset, or just the original when I am done using the warped dataset? Sorry I did not understand the javadocs.<br>
<br>Ex<br><br>Dataset origDataset= gdal.Open("imagefile.ntf");<br>Dataset warpedDataset = gdal.AutoCreateWarpedVRT(origDataset, wkt);<br><br>// do some stuff with the wrapped dataset<br>// .....<br><br>//should i delete both?<br>
origDataset.delete();<br>warpedDataset.delete();<br><br>Thanks!<br><br>