[gdal-dev] Delete Feature and update the feature with geometry at same feature id
hema.yeedunuri at amigooptima.in
Sun Feb 22 22:22:39 PST 2015
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 .
On Thu, Feb 19, 2015 at 7:44 PM, Even Rouault <even.rouault at spatialys.com>
> 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
> > and then at the same deleted feature id i want to setgeometry to it .how
> > can it be done.
> 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
> the feature id if set)
> Spatialys - Geospatial professional services
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev