[Qgis-developer] Remove Feature
Denis Rouzaud
denis.rouzaud at gmail.com
Thu Mar 1 06:07:05 EST 2012
No idea what is the problem.
I don't have 1.7 installed, you could try installing the dev version
(1.9.90) with the osgeo4w installer. Maybe something changed. I
experienced a few problems with addFeatures that have been fixed in the
master.
Otherwise, someone else has to confirm it is ok in 1.7.
Sorry
Denis
On 03/01/2012 11:59 AM, Alexandre Badez wrote:
> 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.
>>
>>
>>
>
>
More information about the Qgis-developer
mailing list