Re: [gdal-dev] mask bands howto

2008-09-25 Thread Vincent Schut
Thanks for the info, both. Major lesson: after ds creation, first close it, than open it GA_Update, then CreateMaskBand(). Another question: it seems (geotiff, external) masks are of dtype byte? So they are not *bit*masks and will use 8 times more space than strictly required (when no compre

Re: [gdal-dev] mask bands howto

2008-09-24 Thread Even Rouault
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 b

Re: [gdal-dev] mask bands howto

2008-09-24 Thread Frank Warmerdam
Vincent Schut wrote: 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

[gdal-dev] mask bands howto

2008-09-24 Thread Vincent Schut
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...