[gdal-dev] Description in ENVI driver

Frank Warmerdam warmerdam at pobox.com
Fri Jul 11 16:19:38 EDT 2008


Matt Hanson wrote:
> Hi,  I’m trying to access the Description field that appears in most 
> ENVI .hdr files.     GetDescription only retrieves the filename as that 
> is the behavior for GDALDatasets (GDALRasterbands supports a 
> description) and GetMetadata doesn’t work as description doesn’t appear 
> in the list.  
> 
> Anyone have any idea how to get this?

Matt,

I see little no evidence that the current ENVI driver captures the dataset
level description.  It does capture the band names and return them as
descriptions on the band objects.

If you want dataset level descriptions, new code will need to be implemented.

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



More information about the gdal-dev mailing list