Re: [gdal-dev] Can't delete feature from shapefile in python

2012-09-27 Thread Hugo
Thanks a lot for your suggestion Even. That is it. Cheers, Hugo On Sun, Sep 16, 2012 at 1:40 PM, Even Rouault wrote: > Le samedi 08 septembre 2012 05:06:41, Hugo a écrit : > > Hello all, > > > > I'm trying to delete a number of records from shapefile based on an > > attribute. The strange thing

Re: [gdal-dev] Can't delete feature from shapefile in python

2012-09-16 Thread Even Rouault
Le samedi 08 septembre 2012 05:06:41, Hugo a écrit : > Hello all, > > I'm trying to delete a number of records from shapefile based on an > attribute. The strange thing that is happening is that feature count never > changes but if i make the same filter a second time the features are no > longer

[gdal-dev] Can't delete feature from shapefile in python

2012-09-07 Thread Hugo
Hello all, I'm trying to delete a number of records from shapefile based on an attribute. The strange thing that is happening is that feature count never changes but if i make the same filter a second time the features are no longer there. The code i'm using is below. I should be doing something w