[gdal-dev] mask bands howto

Vincent Schut schut at sarvision.nl
Wed Sep 24 10:37:27 EDT 2008


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.


More information about the gdal-dev mailing list