[gdal-dev] mask bands howto

Even Rouault even.rouault at mines-paris.org
Wed Sep 24 13:49:24 EDT 2008


You can also take inspiration from the python autotest suite : 
http://trac.osgeo.org/gdal/browser/trunk/autotest/gcore/mask.py

Le Wednesday 24 September 2008 16:37:27 Vincent Schut, vous avez écrit :
> Hi,
>
> is there any up-to-date documentation/tutorial available on the recently
> added mask bands feature? I found
> http://trac.osgeo.org/gdal/wiki/rfc15_nodatabitmask, but I was hoping
> more on something like an api tutorial. The doxygen generated stuff all
> is empty for mask related functions...
>
> Specifically, I'd like to know if it is possible to (using swig python)
> create a DS (gtiff), and then write boolean data into
> ds.GetRasterBand(1).GetMaskBand()? Or should I call CreateMaskBand
> first? This is not entirely clear to me...
>
> Vincent.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev




More information about the gdal-dev mailing list