Hi Frank,<br><br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&nbsp;&nbsp; <a href="http://trac.osgeo.org/gdal/wiki/rfc15_nodatabitmask">http://trac.osgeo.org/gdal/wiki/rfc15_nodatabitmask
</a></blockquote><div><br>If I do not misunderstood, you wrote that mask should be of type GDT_Byte. Why limit to GDT_Byte ? For exemple MODIS QA bands can be of type GDT_UInt16 (<a href="http://edcdaac.usgs.gov/modis/qa/mod09gq_qa_v5.asp">
http://edcdaac.usgs.gov/modis/qa/mod09gq_qa_v5.asp</a>). I know that you are not implementing HDF yet, but if you do it in a future, you might have to make changes to allow this. I recognize that this is a very specific case and is not necessary for the first purposes of your project.
<br><br>Thanks for your great work,<br>Guillaume.<br></div><br></div>