Re: [gdal-dev] RasterIO(GF_Write, ...) has no effect on copied dataset

2010-05-18 Thread Tim Keitt
Oops. Sorry folks. It works after a small bug fix in the algorithm. THK On Tue, May 18, 2010 at 11:40 AM, Frank Warmerdam wrote: > Tim Keitt wrote: >> >> I have some GDAL code that does: >> >> open input dataset >> create copy to output dataset >> close input dataset >> get raster band from outp

Re: [gdal-dev] RasterIO(GF_Write,...) has no effect on copied dataset

2010-05-18 Thread Frank Warmerdam
Tim Keitt wrote: I have some GDAL code that does: open input dataset create copy to output dataset close input dataset get raster band from output call RasterIO(GF_Read,...) on band update buffer in place call RasterIO(GF_Write,...) on band close output dataset exit The program runs, but the ou

[gdal-dev] RasterIO(GF_Write,...) has no effect on copied dataset

2010-05-18 Thread Tim Keitt
I have some GDAL code that does: open input dataset create copy to output dataset close input dataset get raster band from output call RasterIO(GF_Read,...) on band update buffer in place call RasterIO(GF_Write,...) on band close output dataset exit The program runs, but the output dataset contai