<DIV> </DIV>
<DIV> hello,gdal teams.</DIV>
<DIV> Now i begin to use gdal to develop a plugg-in for reading ArcGIS data. There's a field value showing like "2.3565E-06", and the field type is displayed as float in ArcCatolog,also displayed as figure while export to dBase. But when i reading it in gdal, the field type is "OFTIntegerList", i wanna know : </DIV>
<DIV>1. how and why do you store this "2.3565E-06" as an IntegerList?</DIV>
<DIV>2. how can i reading field of this type into a CString object? </DIV>
<DIV>3. which types can be readed by GetFieldAsString() function?</DIV>
<DIV> //////////////////////////////////</DIV>
<DIV> //Codes below are mine:</DIV>
<DIV> </DIV>
<DIV> if( FieldType == OFTIntegerList || FieldType == OFTRealList )<BR> {</DIV>
<DIV>// how to put a OFTIntegerList object like "5.26521E-06"into a CString object? <BR> strField.Format("%e",poFeature->GetFieldAsString(j)); //ERROR!<BR> }<BR> else<BR> strFiled = (CString)poFeature->GetFieldAsString(j); <BR> strFeatAttrib.push_back(strFiled);//strFeatAttrib is CString array</DIV>
<DIV> </DIV>
<DIV>//////////////////////////////////////</DIV>
<DIV> thanks a lot!</DIV>
<DIV> Best regards,</DIV>
<DIV> chenchen,</DIV>
<DIV> 8-19-2007,Lanzhou,China</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_17&domain=126" target="_blank"><span style="text-decoration:underline; color:blue">2007 年 最 受 期 待 大 型 网 游 《大 话 西 游 3》震 撼 公 测! 点 此 抢 先 免 费 体 验 >></span> </a>