hi all, I tried the same way i,e deleted feature and then with the same fid i have created the feature but this is increasing the total fid count.i want to do undo/redo on adding geometry and delete geometry . thanks, hema
On Thu, Feb 19, 2015 at 7:44 PM, Even Rouault <even.roua...@spatialys.com> wrote: > Le jeudi 19 février 2015 10:49:58, Hema Yeedunuri a écrit : > > hi all, > > > > Is it possible to update geometry of the deleted feature .I delete > feature > > and then at the same deleted feature id i want to setgeometry to it .how > > can it be done. > > Hema, > > With the shapefile driver, you can call SetFeature() with a feature whose > feature id corresponds to a deleted feature id. > (It would be more logical to call CreateFeature() with the FID set, but the > implementation of CreateFeature() in the shapefile driver currently > disregards > the feature id if set) > > Even > > -- > Spatialys - Geospatial professional services > http://www.spatialys.com >
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev