Re: [gdal-dev] Delete Feature and update the feature with geometry at same feature id

2015-02-22 Thread Hema Yeedunuri
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

[gdal-dev] Delete Feature and update the feature with geometry at same feature id

2015-02-19 Thread Hema Yeedunuri
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. thanks, hema ___ gdal-dev mailing list gdal-dev@lists.osgeo.org

Re: [gdal-dev] Delete Feature and update the feature with geometry at same feature id

2015-02-19 Thread Even Rouault
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()

[gdal-dev] Delete Feature

2015-02-16 Thread Hema Yeedunuri
hi all, I am trying to delete feature from shape layer using feature id.the feature id is deleted when deleted in order descending order.When trying to delete randomly it is giving error message if i delete fid = 1, the below error is shown. ERROR 1: Attempt to read shape with feature id (2) out

Re: [gdal-dev] Delete Feature

2015-02-16 Thread Even Rouault
Le lundi 16 février 2015 10:07:35, Hema Yeedunuri a écrit : hi all, I am trying to delete feature from shape layer using feature id.the feature id is deleted when deleted in order descending order.When trying to delete randomly it is giving error message Hema, REPACK will remove destroyed

Re: [gdal-dev] Delete Feature

2015-02-16 Thread Hema Yeedunuri
all, If i want to update every time the layer every time how can it be done? I want to do undo redo operations on adding and deleting features . thanks, hema On Mon, Feb 16, 2015 at 2:47 PM, Even Rouault even.roua...@spatialys.com wrote: Le lundi 16 février 2015 10:07:35, Hema Yeedunuri a

[gdal-dev] delete feature without fid

2012-02-01 Thread Imran Rajjad
hi list, in the gdal java bindings I need to delete a feature from layer, but it seems the only way to delete the feature is its FID, which in my case is unknown. Is there anyway to find the true FID of a feature in layer or remove a feature by reference just like it can be updated or re-written.