[Qgis-developer] QGIS Processing Framework

Tim Sutton lists at linfiniti.com
Tue Apr 26 17:11:52 EDT 2011


On Tue, Apr 26, 2011 at 9:46 PM, Camilo Polymeris <cpolymeris at gmail.com> wrote:
> Hello everyone,
> I was accepted as a student in GSoC to implement a "SAGA interface for QGIS".
> There are also proyects that try to interface QGIS with GRASS and the
> Orfeo Toolbox (OTB). Paolo has informed me that the creation of a
> common framework for those systems was discussed and approved during
> HF. A very interesting idea, IMO, that completely changes the way I
> would have to work on my project.
> While I didn't participate in those discussions and don't know what
> conclusions were drawn, as a brainstorming exercise I am writing a
> short description of what a very simple API to that framework could
> look like:
> https://github.com/polymeris/qgis/wiki/QGIS-Processing-Framework
> Would that more or less fit what you have in mind? Please comment/criticize.

Nice work. One other thing to consider is having a validator class -
knowing the type of a parameter is often not enough. The idea with the
validator class would be to create validation rules that can do things
like bounds checking, checking if a file path is valid, checking if a
layer named in a parameter exists in the registry etc. I guess this is
partly covered by your getConstraints method, but maybe we need
something more flexible...

Also some thought could be given to making the execution of tools
operate well outside of a gui context. This would open us up to for
example exposing the tools via the QGIS mapserver as WPS at some point
in the future. OTB has some nice infrastructure in place that allows
tools to be purposed in multiple ways e.g. console, library or gui.
and it would be nice to emulate this.

For me the ultimate conclusion of this kind of work and integration
would be the implementation of some kind of workflow engine  in QGIS
(ala kepler / vistrails / triana) so it is exciting to see the work
you are doing and I think it would be really great to harmonise the
implementation of OTB/SAGA/GRASS tools within QGIS.



> Regards,
> Camilo
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.

Visit http://linfiniti.com to find out about:
 * QGIS programming and support services
 * Mapserver and PostGIS based hosting plans
 * FOSS Consulting Services
Skype: timlinux
Irc: timlinux on #qgis at freenode.net

More information about the Qgis-developer mailing list