<DIV><FONT size=3>hi, ALL.</FONT></DIV>
<DIV><FONT size=3>&nbsp; I try to read&nbsp; raster data from sde cinfigured oracle database.&nbsp;&nbsp;My program always returned from SDEDataset::Open( GDALOpenInfo * poOpenInfo ), traced here:</FONT></DIV>
<DIV><FONT size=3>//////////////////////////////////////////</FONT></DIV>
<DIV><FONT size=3>GDALDataset *SDEDataset::Open( GDALOpenInfo * poOpenInfo )<BR>{</FONT></DIV>
<DIV><FONT size=3>............</FONT></DIV>
<DIV><FONT size=3>............</FONT></DIV>
<DIV><FONT size=3>&nbsp;SDEDataset *poDS;</FONT></DIV>
<DIV><FONT size=3>&nbsp;poDS = new SDEDataset();</FONT></DIV>
<DIV><FONT size=3>..............</FONT></DIV>
<DIV><FONT size=3>/* -------------------------------------------------------------------- */<BR>/*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If we were given a layer name, use that directly, otherwise&nbsp;&nbsp;&nbsp;&nbsp; */<BR>/*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; query for subdatasets.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; */<BR>/* -------------------------------------------------------------------- */</FONT></DIV>
<DIV><FONT size=3>&nbsp; if (CSLCount( papszTokens ) == 6 ) {</FONT></DIV>
<DIV><FONT size=3>......</FONT></DIV>
<DIV><FONT size=3>}</FONT></DIV>
<DIV><FONT size=3>else {<BR>&nbsp;...........//without given a layer name,we get each subdataset.<BR></FONT><FONT size=4>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT color=#0000f0>return FALSE;</FONT></FONT></DIV>
<DIV><FONT color=#0000f0 size=4>// why?&nbsp;when runs to the ELSE{}&nbsp;always return FALSE.&nbsp; </FONT></DIV>
<DIV><FONT size=3><FONT color=#0000f0><FONT size=4>//Should we drop this last sentence "return FALSE;"?</FONT><BR></FONT>&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp; CSLDestroy( papszTokens);<BR>&nbsp;&nbsp;&nbsp; return( poDS );<BR>}</FONT></DIV><br><!-- footer --><br><hr>
<a style="font-size:14px;line-height:15px; color:#000; text-decoration:none" href=" http://event.mail.163.com/chanel/click.htm?from=NO_16&domain=126" target="_blank"><span style="text-decoration:underline; color:blue">网 易 Yeah.net 邮 箱 夏 日 大 变 脸,带 你 感 受 新 一 代 邮 箱 的 全 新 魅 力 >></span> </a>