<div dir="ltr">On Fri, Mar 24, 2017 at 1:10 PM, Olivier Dalang <span dir="ltr"><<a href="mailto:olivier.dalang@gmail.com" target="_blank">olivier.dalang@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear List,<div><br></div><div>Does anybody here have some experience with making QGIS work with (Geo)Django ?</div><div><br></div><div>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.</div><div><br></div><div>I see two approches : </div><div>- Using Django REST framework to create a REST endpoint - but is there a way to consume REST endpoints in QGIS ?</div><div>- Developing a WFST module for Django, for which there seem to be some work done [1] for the non-transactionnal part.</div><div><br></div><div>I just wanted to ask before reinventing the wheel !<br></div><div><br></div><div>Bests,</div><div><br></div><div>Olivier</div><div><br></div><div><br></div><div><br></div><div>[1] : <a href="https://github.com/vascop/django-wfs" target="_blank">https://github.com/vascop/<wbr>django-wfs</a></div></div>
<br></blockquote><div><br><br><br></div><div>Hi,<br><br></div><div>It really depends on what you want to achieve, but the server component of QGIS has Python bindings, so you might want to explore the opportunity to route the calls from Django to a Python-wrapped QGIS Server to generate an OGC response.<br><br><br></div><div> A very old example can be found here: <a href="http://www.itopen.it/qgis-server-binding-news/lang-pref/en/">http://www.itopen.it/qgis-server-binding-news/lang-pref/en/</a><br></div></div><br clear="all"><br>-- <br><div class="gmail_signature">Alessandro Pasotti<br>w3:   <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div>
</div></div>