[gdal-dev] Renaming a column's name in a Shapefile

Chaitanya kumar CH chaitanya.ch at gmail.com
Wed Oct 26 05:04:30 EDT 2011


António,

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].

[1]: http://www.gdal.org/ogr2ogr.html
[2]: http://trac.osgeo.org/gdal/wiki/rfc28_sqlfunc

2011/10/26 António Rocha <antonio.rocha at deimos.com.pt>

> Greetings
> I have to shage a column name in a Shapefile. I'm not much familiar with
> OGR. How can I do that in OGR?
> THanks
> Best regards,
> Antonio
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 6574 (20111025) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
> ______________________________**_________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/**mailman/listinfo/gdal-dev<http://lists.osgeo.org/mailman/listinfo/gdal-dev>
>



-- 
Best regards,
Chaitanya kumar CH.

+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20111026/270eaec7/attachment.html


More information about the gdal-dev mailing list