[QGIS-Developer] [Qgis-developer] QGIS <-> Django

Radim Blazek radim.blazek at gmail.com
Fri Oct 5 08:24:44 PDT 2018


Hi,
we need the same, to be precise, we need two things, to allow editing
of data stored in Django/PostGIS in QGIS over the network and let QGIS
Server (WMS) to read data from Django, both using Django filters etc.
If we manage to get data to QGIS from Django (and back), we can use
QGIS Server and WFS-T for editing. So I am looking for something like
Django provider for QGIS or WFS-T application for Django. Are you
aware of something like that?

Olivier, what have you used in the end? [1] is not maintained and it
does not support WFS-T.

Alessandro, in [2] I am missing data reading from Django models. It
seems like the server is launched from python, but data flow goes
through standard QGIS providers?

Marco, if I got it looking briefly into GeoNode code, they just run
QGIS server, but they don't read data directly from Django models,
right?

[1] https://github.com/vascop/django-wfs
[2] http://www.itopen.it/qgis-server-binding-news/lang-pref/en/

Radim

On Fri, Mar 24, 2017 at 1:56 PM Marco Bernasocchi <marco at opengis.ch> wrote:
>
> Hi Olivier
> Kartoza has been working on having geonode server running smoothly using
> a qgis server in the background.
>
> have a look at
> https://www.youtube.com/watch?v=GzX4byPkV3E
> http://osgeo-org.1560.x6.nabble.com/New-Geonode-GeoSAFE-and-QGIS-work-td5303864.html
>
> cheers
> Marco
>
> On 24.03.2017 13:10, Olivier Dalang wrote:
> > Dear List,
> >
> > Does anybody here have some experience with making QGIS work with
> > (Geo)Django ?
> >
> > I would love to be able to make them communicate, as QGIS is the
> > interface of choice to do complex work on geometries and Django is
> > perfect to quickly setup a complete endpoint with user management, model
> > logic and web administration interface.
> >
> > I see two approches :
> > - Using Django REST framework to create a REST endpoint - but is there a
> > way to consume REST endpoints in QGIS ?
> > - Developing a WFST module for Django, for which there seem to be some
> > work done [1] for the non-transactionnal part.
> >
> > I just wanted to ask before reinventing the wheel !
> >
> > Bests,
> >
> > Olivier


More information about the QGIS-Developer mailing list