[Qgis-developer] [Plugin] Added,
deleted or changed features in a layer
Arpita Singh
singarpita at gmail.com
Fri Jan 9 12:20:38 EST 2009
hi,
i want to build QuickPrint for my app as in Quantum Gis that provide north
arrow, legend, title, as well map . i am having problem in using
QgsQuickPrint ... plz help by giving some code in python.
On Fri, Jan 9, 2009 at 4:34 AM, Olivier Tournaire <olitour at gmail.com> wrote:
> Thank you Aaron,
>
> I found the private members, and added const & accessors for each of them.
> I will fill a ticket about it to have a more stable solution.
>
> Regards,
>
> Olivier
>
> 2009/1/8 Aaron Racicot <aaronr at z-pulley.com>
>
> As far as I know the data exists in the private members of the
>> QgsVectorLayer class and currently there are not any access methods (or
>> bindings) to them. Things like:
>>
>> QgsFeatureIds mDeletedFeatureIds;
>> QgsFeatureList mAddedFeatures;
>> QgsGeometryMap mChangedGeometries;
>>
>> I had a similar need the other day in a python plugin and had to bail and
>> ended up doing what I needed another way… but access to these would be
>> great. Maybe file a ticket and see how the devs feel about it.
>>
>> Aaron
>>
>>
>> From: qgis-developer-bounces at lists.osgeo.org
>> [mailto:qgis-developer-bounces at lists.osgeo.org] On Behalf Of Olivier
>> Tournaire
>> Sent: Thursday, January 08, 2009 2:34 PM
>> To: qgis-developer at lists.osgeo.org
>> Subject: [Qgis-developer] [Plugin] Added, deleted or changed features in a
>> layer
>>
>> Hi all,
>>
>> I am wondering how we can get the modified features (added, deleted,
>> changed) features in a vector layer ? In fact, when commiting changes, I
>> would like to make a special processing on the new, deleted or changed
>> geometries. However, I do not found any method in the VectorLayer class to
>> retrieve these geometries. Any idea ?
>>
>> Best regards,
>>
>> Olivier
>>
>> --
>> Dr. Olivier Tournaire
>> MATIS - Institut Géographique National
>> 73, Ave de Paris
>> 94165 St Mandé cedex, France
>>
>> tel: (+33) 1 43 98 80 00 - 71 25
>> fax: (+33) 1 43 98 85 81
>>
>>
>
>
> --
> Dr. Olivier Tournaire
> MATIS - Institut Géographique National
> 73, Ave de Paris
> 94165 St Mandé cedex, France
>
> tel: (+33) 1 43 98 80 00 - 71 25
> fax: (+33) 1 43 98 85 81
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
--
Arpita
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20090109/623e2391/attachment.html
More information about the Qgis-developer
mailing list