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

Ralf Suhr Ralf.Suhr at itc-halle.de
Fri Oct 28 08:22:30 EDT 2011


ogr2ogr -f "esri shapefile" -sql "SELECT ele, time AS t, magvar, 
geoidheigh, name, cmt, desc, src FROM GPS_Project" new.shp GPS_Project.shp

Gr
Ralf

On Freitag 28 Oktober 2011 13:54:37 António Rocha wrote:
> ogr2ogr -sql "SELECT [ele AS ele, time AS t, magvar AS magvar, 
> geoidheigh AS geoidheigh, name AS name, cmt AS cmt, desc_ AS desc_, src 
> AS src] FROM GPS_Project.shp", new.shp GPS_Project.shp


More information about the gdal-dev mailing list