António,<br><br>The easiest way is to use the -sql option in ogr2ogr [1] and set a new name with the AS clause in the SQL statement [2].<br><br>[1]: <a href="http://www.gdal.org/ogr2ogr.html">http://www.gdal.org/ogr2ogr.html</a><br>
[2]: <a href="http://trac.osgeo.org/gdal/wiki/rfc28_sqlfunc">http://trac.osgeo.org/gdal/wiki/rfc28_sqlfunc</a><br><br><div class="gmail_quote">2011/10/26 António Rocha <span dir="ltr"><<a href="mailto:antonio.rocha@deimos.com.pt">antonio.rocha@deimos.com.pt</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Greetings<br>
I have to shage a column name in a Shapefile. I'm not much familiar with OGR. How can I do that in OGR?<br>
THanks<br>
Best regards,<br>
Antonio<br>
<br>
<br>
<br>
__________ Information from ESET NOD32 Antivirus, version of virus signature database 6574 (20111025) __________<br>
<br>
The message was checked by ESET NOD32 Antivirus.<br>
<br>
<a href="http://www.eset.com" target="_blank">http://www.eset.com</a><br>
<br>
<br>
______________________________<u></u>_________________<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="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/gdal-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br><br>+91-9494447584<br>17.2416N 80.1426E<br>