I have some trouble getting some meta data using DIMAP Driver.<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">gdalinfo --version<br>
GDAL 1.6.0dev, FWTools 2.2.8, released 2008/10/29<br></blockquote><br>Sample data can be found here :<br><a href="ftp://ftp.dmcii.com/samples/32m_MS_L1R/DN000340T_L1R.zip" target="_blank">ftp://ftp.dmcii.com/samples/32m_MS_L1R/DN000340T_L1R.zip</a><br>

<br>The meta data file contains this data :<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">...<br>&lt;Image_Interpretation&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Spectral_Band_Info&gt;<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;BAND_INDEX&gt;1&lt;/BAND_INDEX&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;BAND_DESCRIPTION&gt;NIR&lt;/BAND_DESCRIPTION&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;PHYSICAL_GAIN&gt;0.6376299283778701&lt;/PHYSICAL_GAIN&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;PHYSICAL_BIAS&gt;0.0642515909964508&lt;/PHYSICAL_BIAS&gt;<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;PHYSICAL_UNIT&gt;W/m2/sr/m-6&lt;/PHYSICAL_UNIT&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Spectral_Band_Info&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Spectral_Band_Info&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;BAND_INDEX&gt;2&lt;/BAND_INDEX&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;BAND_DESCRIPTION&gt;RED&lt;/BAND_DESCRIPTION&gt;<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;PHYSICAL_GAIN&gt;0.6190674084836884&lt;/PHYSICAL_GAIN&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;PHYSICAL_BIAS&gt;0.0666344554873623&lt;/PHYSICAL_BIAS&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;PHYSICAL_UNIT&gt;W/m2/sr/m-6&lt;/PHYSICAL_UNIT&gt;<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Spectral_Band_Info&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Spectral_Band_Info&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;BAND_INDEX&gt;3&lt;/BAND_INDEX&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;BAND_DESCRIPTION&gt;GREEN&lt;/BAND_DESCRIPTION&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;PHYSICAL_GAIN&gt;0.717558361863802&lt;/PHYSICAL_GAIN&gt;<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;PHYSICAL_BIAS&gt;0.019273652406175568&lt;/PHYSICAL_BIAS&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;PHYSICAL_UNIT&gt;W/m2/sr/m-6&lt;/PHYSICAL_UNIT&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Spectral_Band_Info&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/Image_Interpretation&gt;<br>

...<br></blockquote><br>And gdalinfo outputs :<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">&gt;gdalinfo DN000340T_L1R.dim<br>Driver: DIMAP/SPOT DIMAP<br>

...<br>Metadata:<br>&nbsp; ...<br>&nbsp; SPECTRAL_BAND_INDEX=1<br>&nbsp; SPECTRAL_BAND_DESCRIPTION=NIR<br>&nbsp; SPECTRAL_PHYSICAL_GAIN=0.6376299283778701<br>&nbsp; SPECTRAL_PHYSICAL_BIAS=0.0642515909964508<br>&nbsp; SPECTRAL_PHYSICAL_UNIT=W/m2/sr/m-6<br>

...<br></blockquote><br>The problem is that there is spectral info only for first band. I would like to see the data for each band.<br><br>I also made a C++ program using the API ( GDALDataset::GetMetadata and GDALRasterBand::GetMetadata           
          )giving no more results.<br><br>Is there some turn-around to get the meta-data using the driver ?<br>Should I submit a bug ?<br><br>Thank you for your reply.<br><br>Guillaume.