<div dir="ltr">Maybe best to open *a copy of* the .dbf in Excel and save from there? <div><br></div><div> R or Python could be used for that too, or do you really need to do this with GDAL (why?). </div><div><br></div><div>HTH, Mike</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, 31 May 2018 at 23:22 <<a href="mailto:weskerjiang@sina.cn">weskerjiang@sina.cn</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I want to use gdal to read a shapefile and write the attributes into a xlsx file,how to use gdal to do that?<br><br><div id="m_7829947959156068432">--------------------------------<br></div><div id="m_7829947959156068432"><a href="http://t.sina.com.cn/2170550500?s=5aSn5ZGb5LiN5Lya6aOe" target="_blank"><img style="border:medium none" src="http://service.t.sina.com.cn/widget/qmd/2170550500/1f582291/1.png" title="大呛不会飞"></a></div>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a></blockquote></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span>Dr. Michael Sumner</span><br><span>Software and Database Engineer</span><br><span>Australian Antarctic Division</span><br><span>203 Channel Highway</span><br><span>Kingston Tasmania 7050 Australia</span><br><br></div></div>