On Wed, Jun 20, 2012 at 7:50 PM, Even Rouault <even.roua...@mines-paris.org> wrote: > > ogrinfo CHEMIN.shp -sql "ALTER TABLE CHEMIN RENAME COLUMN prec_alti TO foo" >
really nice, I was not aware of this. Another option I have been always using is: ogr2ogr -sql 'select field1, field2, fieldn, ..., oldname as newname from input' output.shp input.shp but this way we need to regenerate the shapefile best regards p -- Paolo Corti Geospatial software developer web: http://www.paolocorti.net twitter: @capooti skype: capooti _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev