+1 regarding Barry's suggestion<br>I will bring this up at the hackfest.<br>This means that if authors want, they can import (for example) <br>qgs_utils.py, otherwise, they can simply do it themselves...<br>Things like: adding a newly created layer to the canvas, iterators <br>
over features, adding/creating new fields, etc...<br><br>Carson<br><br><div class="gmail_quote">On Thu, Oct 8, 2009 at 9:53 AM, Barry Rowlingson <span dir="ltr"><<a href="mailto:b.rowlingson@lancaster.ac.uk">b.rowlingson@lancaster.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Thu, Oct 8, 2009 at 9:03 AM, Marco Hugentobler <<a href="mailto:marco@hugis.net">marco@hugis.net</a>> wrote:<br>
> +1<br>
> Discussing plugin issues at the hackfest will be great. Hopefully we can<br>
> assemble and write such a guideline document directly there.<br>
><br>
> I agree with Carson that it would be good to have a topic list for the<br>
> hackfest.<br>
><br>
> So from what I understood, porting f-Tools to the analysis library is also<br>
> intended. Other topics?<br>
<br>
</div> Would this be an opportunity to discuss implementing a set of common<br>
python utilities for plugins? This would help plugin uniformity and<br>
stop duplication of code between plugins (which I am sure exists now).<br>
I think I've suggested this in the past and the arguments against were<br>
(1) that such functionality should be in the core and (2) that it<br>
would introduce a dependency that plugins would have to work to.<br>
<br>
My thinking on (1) is that this would include purely pythonic things<br>
- such as iterators over features - that need to be done as python. My<br>
thinking on (2) is that we probably have to cope with enough API<br>
dependencies that one more doesn't matter, and authors can always<br>
choose to roll their own code.<br>
<br>
Sorry I can't be at hackfest to discuss this further! But if anyone<br>
has other ideas for common pythonic functionality, I'll be happy to<br>
hear them...<br>
<font color="#888888"><br>
Barry<br>
</font><div><div></div><div class="h5">_______________________________________________<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Carson Farmer<br>National Centre for Geocomputation<br>John Hume Building,<br>National University of Ireland, Maynooth,<br>Maynooth,<br>Co. Kildare,<br>Ireland.<br>
<a href="http://www.carsonfarmer.com">www.carsonfarmer.com</a><br>