[Qgis-developer] Usefull methods

Martin Dobias wonder.sk at gmail.com
Wed Dec 10 17:14:17 EST 2008


On Wed, Dec 10, 2008 at 9:10 PM, Barry Rowlingson
<b.rowlingson at lancaster.ac.uk> wrote:
> 2008/12/10 Martin Dobias <wonder.sk at gmail.com>:
>
>> It would be much better to put these utility functions/classes
>> directly to QGIS libs and wrapped in PyQGIS. There are several reasons
>> for this:
>> 1. no need to install/update more plugins (and btw. with current
>> implementation it's not possible to interact between plugins)
>
>  Really? I'm pretty sure I have a plugin that imports from another
> plugin... It's just a module.

Oh yes, that's true. I meant that there's no support to access other
plugin's "live" instance - but if the plugin would consist of only a
bunch of simple functions/classes that shouldn't be a problem.


>> 2. also QGIS C++ code or 3rd party C++ devs could use this functionality
>
>  The problem here is I reckon there are 10 python developers for every
> one C++ developer. These things will get done in Python (exhibit A:
> OP), but not done in C++.

Maybe true... But in fact all that stands and falls on some authority
(one dev at least) that takes care of the library. But I see your
point.


>> As I've stated above, I would be happier if such common functionality
>> would be in libs...
>
>  Yes it would be nicer, and making you happier is a good thing. But do
> you have time to do it?

In following months I will as I have to devote quite some time to our
mapping project which is closely related to QGIS. But probably the
best way would be to leave the code evolve as a python plugin and
eventually pull the most insteresting stuff back to QGIS API.


Martin


More information about the Qgis-developer mailing list