[Geotiff] data types in bands

Frank Warmerdam warmerdam at pobox.com
Mon Jun 22 14:50:03 PDT 2009

Kyle Shannon wrote:
> 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?


This is a TIFF rather than GeoTIFF issue. The TIFF BitsPerSample
tag has a value for each sample, so it is theoretically possible to
have different bitspersample values for different band data types.
However, this is not a baseline tiff, and would not be supported
by very many software packages in the world.  So I'd strongly
advise against doing this in most circumstances.

Best regards,
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

More information about the Geotiff mailing list