[Qgis-developer] SEXTANTE decouple algorithm execution from GUI to run algs from CLI

G. Allegri giohappy at gmail.com
Wed May 9 02:49:32 PDT 2012


Well, I don't mean to remove the possibility to interact with the GUI from
the algorithms, rather I would abstract the interaction and route it to the
GUI in case we are inside QGis GUI or to the console output if we are in a
CLI...

giovanni

2012/5/8 Etienne Tourigny <etourigny.dev at gmail.com>

> Good idea - and have gui classes that call the algorithms. I don't
> know how many files/classes you have, but it might be a pain to
> separate the gui from the execution code if you have many algorithms.
>
> Etienne
>
> On Tue, May 8, 2012 at 8:58 AM, G. Allegri <giohappy at gmail.com> wrote:
> > Almost all the actual algorithms assume to be inside a QgisApplication.
> It's
> > obvious, being born as QGis plugins.
> > Anyway, I think it would be a good plus being able to run (most of) them
> > from a CLI, given that SEXTANTE handles the layers I/O from filesystem.
> > If I remove QtGui calls from my algorithms, they could be used from
> console,
> > as far as I have an out-of-gui version of AlgorithmExecuter and
> QgsLayers.
> >
> > What do you think about this?
> > giovanni
> >
> > _______________________________________________
> > Qgis-developer mailing list
> > Qgis-developer at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-developer
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20120509/6d224040/attachment.html


More information about the Qgis-developer mailing list