Hello,
I would like to create a new .tif file in GDAL C# by using the
driver.CreateCopy<http://www.gdal.org/classGDALDriver.html#a2c897da2a6e25169cccc49ef48797ce1>
function.
I have been reading gdal tutorial page<http://www.gdal.org/gdal_tutorial.html>
and it looks like the python version of driver.CreateCopy function supports the
use of additional arguments. For example, it supports using 'TILED=YES'
argument:
src_ds = gdal.Open( src_filename )
dst_ds = driver.CreateCopy( dst_filename, src_ds, 0,
[ 'TILED=YES', 'COMPRESS=PACKBITS' ] )
I assume this means it can also support an argument like: "-outsize 50% 50%" ?
If this is so, then how can I use the same argument ("-outsize 50% 50%") in C#
version of driver.CreateCopy function? Something like:
driver.CreateCopy(filePath, dataset, False, "-outsize 50% 50%", null, null);
?
Thank you.
Didier
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev