[Gdal-dev] INTERLEAVE information of a read GeoTigff dataset

Stephane Routelous route at cae.com
Wed Oct 19 10:13:32 EDT 2005


Hi,
 
I checked the code, but I cannot find a way to get the INTERLEAVE
metadata once the dataset is opened.
It works when I set in when creating a new dataset, but I tried:
 
  GDALDataset* m_gdalDataSet = (GDALDataset *) GDALOpen(
(char*)filename.c_str(), GA_ReadOnly );
 const char* interleaveStr =
m_gdalDataSet->GetMetaDataItem("INTERLEAVE"); 
 
and nothing gives access to the "nPlanarConfig" field of the
GTiffDataSet
 
 
Did I make something wrong ?
 
Thnaks,
 
Stephane

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20051019/d63adc1f/attachment.html


More information about the Gdal-dev mailing list