[Live-demo] GSOC 2016

massimo di stefano massimodisasha at gmail.com
Tue Mar 15 03:13:54 PDT 2016

> On Mar 14, 2016, at 9:19 PM, sarthak agarwal <sarthak0415 at gmail.com <mailto:sarthak0415 at gmail.com>> wrote:

> So what I understand from this is that we need some MVC like architecture where the controller will be written in python which handles the backend and view will be in js which handles the UI and data needs to flow between them . (correct me if I am wrong).

Correct, the MVC system in jupyter is handled by ipywidgets [1] which use traitlets [2] to handle the status of a python object (the cesiumwidget uses the “on_change” callback to notice python about state-changes of a variable happening on the js side)

 https://github.com/ipython/ipywidgets <https://github.com/ipython/ipywidgets> 

 http://traitlets.readthedocs.org/en/stable/ <http://traitlets.readthedocs.org/en/stable/> 

in the ipywidgets there are standard GUI elements like buttons, sliders, text input etc.
part of this project will aim to extent the widgets adding a "JS map canvas” which is based on cesium.

> I read the issue and it makes sense to me, but I need to setup the dev env for the project hence I need some time.
> Is the repo of the project same as the issue, or should I clone different repo, and do you have some recommendation before cloning and installing

the main cesiumwidget repository is fine, we can continue the discussion about this specific coding task there.

The development of the GUI part during the GSoC period will be based on master version of both cesiumwidget, ipywidget and jupiter.
For the processing part the idea will make extensive use of the software tools available under the geopython organization http://geopython.github.io/ <http://geopython.github.io/>

But the time is short, for this coding task you can avoid the installation steps and jump right into development.

Just download the latest OSGeo-Live iso from:

http://osprey.ucdavis.edu/downloads/osgeo/gisvm/gisvm/9.5rc1/ <http://osprey.ucdavis.edu/downloads/osgeo/gisvm/gisvm/9.5rc1/>

and install it a Virtual Machine.
you will find the 2 main files in:

/usr/local/lib/python2.7/dist-packages/CesiumWidget-0.1.0-py2.7.egg/CesiumWidget/cesiumwidget.py  # for the python code

and in :

/usr/local/share/jupyter/nbextensions/CesiumWidget/cesium_widget.js  # for the JS code


This GSoC idea is a “Cross Project” development idea, where several tools available in the Open Source Ecosystem are used and development of novel code is required. I will focus on the use of the software tools available under the geopython organization http://geopython.github.io/ <http://geopython.github.io/>  
where the JS-cesiumwidget is used as map canvas to expose the capabilities of software libraries like owslib, pywps and pycsw.

The OSGeo-Live here is used as “substrate” where all this tools and data are made available. This will simplify the development of cross projects ideas and focus on “development” of novel tools.

For this idea to be successful a second co-mentor with a good JS background is desired.
I’ll add more details on the GSoC page late today.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/osgeolive/attachments/20160315/c4f1e926/attachment.html>

More information about the Osgeolive mailing list