[gdal-dev] C# Wrapper + GdalWarpOptions

Obermaier, Felix obe at IVV-AACHEN.DE
Thu Dec 17 05:53:49 EST 2009


Hello,

I'm to reprojecting/warping geotiff images with C# OSGeo.Gdal assembly.
Is there a way to initialize the output geotiff to some odd color (not black)
so setting the transparency only affects the areas it should?

>From the C++ api i learned that there should be something like GdalWarpOptions
but I cannot find that, and if I look at the swig interface files I see that
that parameter is explicitly set to 0.

Would it be enough to set NoDataValue in the source geotiff?

Thanks in advance

Felix Obermaier




More information about the gdal-dev mailing list