Re: [gdal-dev] Updating shapefile "fields" name with ogr2ogr

2012-06-21 Thread Hermann Peifer
On 2012-06-20 19:50, Even Rouault wrote: I know this is going to sound a bit counter-intutive at first... ogrinfo opens datasources in read/write mode by default... Just out of curiosity: why does an ...info tool use read/write mode by default? One would expect that it only needs to *read* s

Re: [gdal-dev] Updating shapefile "fields" name with ogr2ogr

2012-06-21 Thread Emmanuel Séguin
Thanx for your answer. Working fine. On 06/20/2012 07:50 PM, Even Rouault wrote: Le mercredi 20 juin 2012 18:41:40, Emmanuel Séguin a écrit : Hi, This may be very easy but I did not find a way to use ogr2ogr to change a shapefile field (attribute) name. I've tried something like this : ' ogr2o