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 contains exactly the same
values as the input dataset. The RasterIO(GF_Write,...) call seems to
have no effect. I tried closing and reopening the output after the
create copy call, but same result. Access of the copy is GA_Update.

THK



-- 
Timothy H. Keitt
http://www.keittlab.org/
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to