[Gdal-dev] CreateCopy or Create to fill with zeros?

Charles Wivell Charles.Wivell at dnr.state.mn.us
Fri May 19 15:21:20 EDT 2006


Hi all;

Simple question... I have a very large Dataset and I want to copy it, except that,  instead of copying the raster data, I want it filled with zeros. Can I use CreateCopy(...) with something set in the papzOptions.....? I know I can use Create(...), but I'm not sure if Create(...) zeros the disk space where the raster data is stored.

I'm programming in C++.

Thanks

Chuck Wivell
MN DNR 



_______________________________________________
Gdal-dev mailing list
Gdal-dev at lists.maptools.org 
http://lists.maptools.org/mailman/listinfo/gdal-dev





More information about the Gdal-dev mailing list