Thanks Frank,<br>We are changing our input file type from a proprietary type to a well supported/maintained data type. GeoTiffs seemed the obvious choice. Our files can have 3, 5, 6, or 8 bands. Is there a way to specify a band is empty? We would like to keep the number of bands constant to allow user defined bands (bands 9 - n). We were going to user a GDT_Byte for those bands to identify them as 'NoData'. Is there a way to identify 'empty' bands in a geotiff, or is it even worth it to try?<br>
<br><br clear="all">#===================================<br>Kyle Shannon                        |        5775 Highway 10 W.<br>Physical Science Technician        |        Missoula, MT 59808<br>RMRS Fire Sciences Lab                |        (406)829-6954<br>Fire, Fuels & Smoke - RWU 4405        |        <a href="mailto:work%3Akshannon@fs.fed.us">work:kshannon@fs.fed.us</a><br>
<a href="mailto:ksshannon@gmail.com">ksshannon@gmail.com</a>                |<br>#===================================<br>
<br><br><div class="gmail_quote">On Mon, Jun 22, 2009 at 3:50 PM, Frank Warmerdam <span dir="ltr"><<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">Kyle Shannon wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I just have a quick question about geotiffs that I couldn't find in the spec. I am assuming that geotiffs do not support different data types for single bands within that file. Is that correct?<br>
</blockquote>
<br></div>
Kyle,<br>
<br>
This is a TIFF rather than GeoTIFF issue. The TIFF BitsPerSample<br>
tag has a value for each sample, so it is theoretically possible to<br>
have different bitspersample values for different band data types.<br>
However, this is not a baseline tiff, and would not be supported<br>
by very many software packages in the world. So I'd strongly<br>
advise against doing this in most circumstances.<br>
<br>
Best regards,<br><font color="#888888">
-- <br>
---------------------------------------+--------------------------------------<br>
I set the clouds in motion - turn up | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a><br>
light and sound - activate the windows | <a href="http://pobox.com/%7Ewarmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>
and watch the world go round - Rush | Geospatial Programmer for Rent<br>
<br>
</font></blockquote></div><br>