<DIV> </DIV>
<DIV> </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></DIV>
<DIV> </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>