[Qgis-developer] GGL2 - QGIS integration
Fernando González
fergonco at gmail.com
Mon Jun 18 07:17:36 PDT 2012
Hi Giovanni
On Mon, Jun 18, 2012 at 4:01 PM, G. Allegri <giohappy at gmail.com> wrote:
> What do you mean with "SEXTABTE/QGis" integration? Do you mean launching
> GGL2 commands from inside SEXTANTE (directed to the hosted GGL2 engine), or
> porting GGL2 to Python?
Yes, GGL2 scripts can be packaged and, as sextante is able to use
third party processes, it should be possible to launch them from
sextante.
We already got something with the previous implementation of GGL and
the sextante Java version.
> I see on your repo a basic Python implementation to call GGL2 through Popen.
> Do you mean something like that?
That's the basic integration that will allow launching GGL2 scripts
from QGIS. We plan to create a very simple interactive console at
first, nothing to do with sextante.
>
> Sorry for so many questions, I ask them just to understand, because you're
> project is very interesting and I like to think about possible future
> applications.
Please. :)
> I like very much domain languages. On this topic I also follow JEQL, from
> Martin Davis, and OrbisGIS [2] with its GDMS and GRAP tools.
There is also jiffle[1] from Michael Bedward. I've copied some
constructions from there. I've talked time ago with both of them
(Michael and Martin) to try to collaborate... but it's not easy.
Although the basic idea is the same, the approaches are very
different.
About OrbisGIS/Gearscape, some facts:
- GDMS started in gvSIG (called GDBMS), in a boring summer, at home,
at my home :)
- We improved it *a lot* during the first 1.5 years of OrbisGIS development.
- I forked it afterwards: Gearscape.
- GGL stands for Gearscape Geoprocessing Language.
- The GIS application (gearscape) and it's scripting language is no
longer supported and we focus on the new language version (GGL2) and
on the integration with other GIS applications (now is QGIS turn!).
Regards.
[1] http://code.google.com/p/jiffle/
>
> giovanni
>
> [1] http://tsusiatsoftware.net/jeql/main.html
> [2] http://trac.orbisgis.org/
>
> 2012/6/18 Fernando González <fergonco at gmail.com>
>>
>> Hi Víctor, thanks for the support.
>>
>> My idea is to give the sextante integration a try once the basic
>> integration is done. We'll see :)
>>
>> On Mon, Jun 18, 2012 at 10:42 AM, Victor Olaya <volayaf at gmail.com> wrote:
>> > I just want to add that both Victor and Fernando are good friends of
>> > mine and their work is impressive. If GGL2 can be implemented in QGIS
>> > using SEXTANTE, That will be a very valuable addition. I, of course,
>> > will be ready to help as much as needed.
>> >
>> > Regards
>> >
>> > Victor
>> >
>> > 2012/6/18 Víctor González <victorzinho at gmail.com>:
>> >> Hi all,
>> >>
>> >> I'm Víctor (Fernando's brother) and I also wanted to introduce myself.
>> >> I
>> >> have been working with GGL for some time and I did the GGL2-GIS
>> >> connection
>> >> system in the context of a GSoC last year. I have been working with
>> >> Java and
>> >> C but never with Python, so this is a new experience for me.
>> >>
>> >> Regarding your question, that is the idea. But actually the Qgis plugin
>> >> will
>> >> be the server since all the communication is started by the GGL2
>> >> environment. This plugin can be seen as a layer server that provides
>> >> and
>> >> "stores" (draws) layers: it opens a socket and manages the requests.
>> >>
>> >> Regards,
>> >> Víctor.
>> >>
>> >> 2012/6/18 G. Allegri <giohappy at gmail.com>
>> >>
>> >>>> Appart of the UI, a qgis plugin must be created that exchanges
>> >>>> messages with the GGL compiler in order to show results and inform
>> >>>> the
>> >>>> compiler about the layers loaded in qgis, etc. This approach already
>> >>>> works in gvSIG. You can see how does it looks like from the user
>> >>>> point
>> >>>> of view here[2] and the technical details here[3].
>> >>>
>> >>>
>> >>> AFAICS, GGL will be used as a server to which the Qgis plugin will
>> >>> talk
>> >>> through kind of an XML-RPC protocol, is it right?
>> >>>
>> >>> giovanni
>> >>>
>> >>>>
>> >>>>
>> >>>> I hope I've answered your question.
>> >>>>
>> >>>> Regards.
>> >>>>
>> >>>> [1] http://www.gearscape.org/html/course/ejemploggl.htm
>> >>>> [2] http://www.gearscape.org/html/ggl2/tutorials/gis_interaction.html
>> >>>> [3] http://www.gearscape.org/html/ggl2/dev/gis_connection.html
>> >>>>
>> >>>>
>> >>>>
>> >>>> On Mon, Jun 18, 2012 at 9:20 AM, Paolo Cavallini
>> >>>> <cavallini at faunalia.it>
>> >>>> wrote:
>> >>>> > Il 18/06/2012 09:14, Fernando González ha scritto:
>> >>>> >
>> >>>> >> I hope it's interesting for some of you and, of course, any
>> >>>> >> comments
>> >>>> >> of such an active and skilful community are very welcome. Mainly
>> >>>> >> because it's our very first development in python!
>> >>>> >
>> >>>> > Hi Fernando,
>> >>>> > it looks a very interesting development; thanks for this. Looking
>> >>>> > forward to test it.
>> >>>> > How do you plan to integrate it into QGIS?
>> >>>> > All the best.
>> >>>> > --
>> >>>> > Paolo Cavallini - Faunalia
>> >>>> > www.faunalia.eu
>> >>>> > Full contact details at www.faunalia.eu/pc
>> >>>> > Nuovi corsi: http://www.faunalia.it/calendario
>> >>>> > _______________________________________________
>> >>>> > Qgis-developer mailing list
>> >>>> > Qgis-developer at lists.osgeo.org
>> >>>> > http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> >>>> _______________________________________________
>> >>>> Qgis-developer mailing list
>> >>>> Qgis-developer at lists.osgeo.org
>> >>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> >>>
>> >>>
>> >>>
>> >>> _______________________________________________
>> >>> Qgis-developer mailing list
>> >>> Qgis-developer at lists.osgeo.org
>> >>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> >>>
>> >>
>> >>
>> >> _______________________________________________
>> >> Qgis-developer mailing list
>> >> Qgis-developer at lists.osgeo.org
>> >> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> >>
>> > _______________________________________________
>> > Qgis-developer mailing list
>> > Qgis-developer at lists.osgeo.org
>> > http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
More information about the Qgis-developer
mailing list