2009/1/10 Tim Sutton <span dir="ltr"><<a href="mailto:tim@linfiniti.com">tim@linfiniti.com</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi<br>
<div class="Ih2E3d"><br>
On Fri, 2009-01-09 at 00:04 +0100, Olivier Tournaire wrote:<br>
> Thank you Aaron,<br>
><br>
> I found the private members, and added const & accessors for each of<br>
> them. I will fill a ticket about it to have a more stable solution.<br>
><br>
<br>
</div>If you attach your changes as a patch we can just apply it assuming it<br>
does not break public api backwards compatibility. Thats assuming other<br>
devs dont have any objects - I cant see it causing any problems.<br>
<br>
Regards<br>
<br>
Tim<br>
<div><div></div><div class="Wj3C7c"></div></div></blockquote><div><br>OK, I will attach the patch to ticket #1482 in a few days.<br>Does my proposition in the ticket respect the coding standards ?<br><br>Regards,<br><br>
Olivier<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div class="Wj3C7c"><br>
<br>
> Regards,<br>
><br>
> Olivier<br>
><br>
> 2009/1/8 Aaron Racicot <<a href="mailto:aaronr@z-pulley.com">aaronr@z-pulley.com</a>><br>
> As far as I know the data exists in the private members of the<br>
> QgsVectorLayer class and currently there are not any access<br>
> methods (or<br>
> bindings) to them. Things like:<br>
><br>
> QgsFeatureIds mDeletedFeatureIds;<br>
> QgsFeatureList mAddedFeatures;<br>
> QgsGeometryMap mChangedGeometries;<br>
><br>
> I had a similar need the other day in a python plugin and had<br>
> to bail and<br>
> ended up doing what I needed another way… but access to these<br>
> would be<br>
> great. Maybe file a ticket and see how the devs feel about<br>
> it.<br>
><br>
> Aaron<br>
><br>
><br>
> From: <a href="mailto:qgis-developer-bounces@lists.osgeo.org">qgis-developer-bounces@lists.osgeo.org</a><br>
> [mailto:<a href="mailto:qgis-developer-bounces@lists.osgeo.org">qgis-developer-bounces@lists.osgeo.org</a>] On Behalf Of<br>
> Olivier<br>
> Tournaire<br>
> Sent: Thursday, January 08, 2009 2:34 PM<br>
> To: <a href="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</a><br>
> Subject: [Qgis-developer] [Plugin] Added, deleted or changed<br>
> features in a<br>
> layer<br>
><br>
><br>
> Hi all,<br>
><br>
> I am wondering how we can get the modified features (added,<br>
> deleted,<br>
> changed) features in a vector layer ? In fact, when commiting<br>
> changes, I<br>
> would like to make a special processing on the new, deleted or<br>
> changed<br>
> geometries. However, I do not found any method in the<br>
> VectorLayer class to<br>
> retrieve these geometries. Any idea ?<br>
><br>
> Best regards,<br>
><br>
> Olivier<br>
><br>
> --<br>
> Dr. Olivier Tournaire<br>
> MATIS - Institut Géographique National<br>
> 73, Ave de Paris<br>
> 94165 St Mandé cedex, France<br>
><br>
> tel: (+33) 1 43 98 80 00 - 71 25<br>
> fax: (+33) 1 43 98 85 81<br>
><br>
><br>
><br>
><br>
><br>
> --<br>
> Dr. Olivier Tournaire<br>
> MATIS - Institut Géographique National<br>
> 73, Ave de Paris<br>
> 94165 St Mandé cedex, France<br>
><br>
> tel: (+33) 1 43 98 80 00 - 71 25<br>
> fax: (+33) 1 43 98 85 81<br>
</div></div><div><div></div><div class="Wj3C7c">> _______________________________________________<br>
> Qgis-developer mailing list<br>
> <a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
<br>
--<br>
</div></div><font color="#888888">Tim Sutton - QGIS Project Steering Committee Member (Release Manager)<br>
==============================================<br>
Visit <a href="http://linfiniti.com" target="_blank">http://linfiniti.com</a> to find out about:<br>
* QGIS programming services<br>
* Mapserver and PostGIS based hosting plans<br>
* FOSS Consulting & Support Services<br>
Skype: timlinux Irc: timlinux on #qgis at <a href="http://freenode.net" target="_blank">freenode.net</a><br>
==============================================<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Dr. Olivier Tournaire<br>MATIS - Institut Géographique National<br>73, Ave de Paris<br>94165 St Mandé cedex, France<br><br>tel: (+33) 1 43 98 80 00 - 71 25<br>fax: (+33) 1 43 98 85 81<br>