Re: [gdal-dev] issue updating shapefile using python bindings

2017-04-22 Thread Even Rouault
On samedi 22 avril 2017 09:24:22 CEST Mike wrote: > Hi - > I have a script which at one point adds fields to a shapefile, then at > another time updates those fields. This happens a couple times through this > whole process. > > #earlier > > driver = ogr.GetDriverByName('ESRI Shapefile') > > dat

[gdal-dev] issue updating shapefile using python bindings

2017-04-22 Thread Mike
Hi - I have a script which at one point adds fields to a shapefile, then at another time updates those fields. This happens a couple times through this whole process. #earlier driver = ogr.GetDriverByName('ESRI Shapefile') dataSource = driver.Open(inshp, 1) layer = dataSource.GetLayer() id