<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2722" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=962580414-19102005><FONT face=Arial
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=962580414-19102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=962580414-19102005><FONT face=Arial size=2>I checked the code,
but I cannot find a way to get the INTERLEAVE metadata once the dataset is
opened.</FONT></SPAN></DIV>
<DIV><SPAN class=962580414-19102005><FONT face=Arial size=2>It works when I set
in when creating a new dataset, but I tried:</FONT></SPAN></DIV>
<DIV><SPAN class=962580414-19102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=962580414-19102005><FONT face=Arial
size=2> GDALDataset* m_gdalDataSet = (GDALDataset *) GDALOpen(
(char*)filename.c_str(), GA_ReadOnly );</FONT></SPAN></DIV>
<DIV><SPAN class=962580414-19102005><FONT face=Arial size=2> const char*
interleaveStr = m_gdalDataSet->GetMetaDataItem("INTERLEAVE");
</FONT></SPAN></DIV>
<DIV><SPAN class=962580414-19102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=962580414-19102005><FONT face=Arial size=2>and nothing gives
access to the "nPlanarConfig" field of the GTiffDataSet</FONT></SPAN></DIV>
<DIV><SPAN class=962580414-19102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=962580414-19102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=962580414-19102005><FONT face=Arial size=2>Did I make something
wrong ?</FONT></SPAN></DIV>
<DIV><SPAN class=962580414-19102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=962580414-19102005><FONT face=Arial
size=2>Thnaks,</FONT></SPAN></DIV>
<DIV><SPAN class=962580414-19102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=962580414-19102005><FONT face=Arial size=2>Stephane</DIV>
<DIV><BR></DIV></FONT></SPAN></BODY></HTML>