[Qgis-developer] Remove Feature
Alexandre Badez
alexandre.badez at gmail.com
Thu Mar 1 05:59:11 EST 2012
I'm using OSGeo4W with Qgis 1.7.3 (from version 4296e12 of code) with
Qt 4.7.1 and python 2.7.2
On Thu, Mar 1, 2012 at 11:50, Denis Rouzaud <denis.rouzaud at gmail.com> wrote:
> This is strange, I have successfully use the deleteFeatures from the
> dataProvider
>
> here at line 103
> https://github.com/3nids/Triangulation/blob/2b90973a34f835ac3564204dcbccc573bcff274a/triangulation.py
>
>
> same for addFeatures.
>
> Which version of Qgis are you using?
>
>
>
>
> On 03/01/2012 11:38 AM, Alexandre Badez wrote:
>
> Hi,
>
> Yep, I did, and it did not work..
> I post a longer message here:
> http://forum.qgis.org/viewtopic.php?f=5&t=10121&sid=e816f9d2b714e6959b4cdf4074839b97
>
> On Thu, Mar 1, 2012 at 11:37, Denis Rouzaud <denis.rouzaud at gmail.com> wrote:
>
> Hi,
>
> Did you try deleteFeatures from dataProvider or deleteFeature from
> vectorLayer ?
>
> On 03/01/2012 10:54 AM, Alexandre Badez wrote:
>
> Hi everyone,
>
> I would like to remove feature in a vector layer, but the
> deleteFeatures do not seems to work.
>
> Is it a bug ? How can I do this ?
>
> How should I handle features ids ?
>
> Thanks.
>
>
>
--
Alex
More information about the Qgis-developer
mailing list