[Gdal-dev] Datatype of bands

Frank Warmerdam warmerdam at pobox.com
Mon Aug 21 12:02:41 EDT 2006


Matt Hanson wrote:
> Frank, Thanks for the answers.  I'm going to assume that all bands are of
> the same datatype.
> 
> A related question - is there a way I can get the datatype of a band as a
> typename, rather then as a GDAL enum or a string.   I want to be able to
> query a dataset and get the datatype so I can create a template of a
> specific type.

Matt,

No, I'm sorry, there is no support for this currently.

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    | President OSGF, http://osgeo.org




More information about the Gdal-dev mailing list