[GeoNode-users] How to use QGIS as backbone server
Francesco Bartoli
xbartolone at gmail.com
Tue May 23 00:23:13 PDT 2017
Hi Rizky,
you can take more confidence here [1] as the contrib concept is derived from Django itself. So basically releasing QGIS backend as an optional django/geonode package doesn’t mean you cannot modify the base code wherever is needed.
Usually the binding with the main project is through the settings [2] so for example if you want to pass a tuple with the supported file types from the QGIS then you can put that configuration in its own settings having it loaded at the time QGIS contrib app will be enable. As an example how to achieve that you can have a look at this contrib app [3].
Hope this helps
Francesco
[1] https://docs.djangoproject.com/en/1.11/ref/contrib/
[2] https://github.com/GeoNode/geonode/blob/master/geonode/settings.py#L288
[3] https://github.com/GeoNode/geonode/tree/master/geonode/contrib/mp
Il giorno 23/mag/2017, alle ore 05:53, Rizky Maulana Nugraha <rizky at kartoza.com> ha scritto:
> I’m not familiar with the term contrib project in geonode. Is it like a
> standalone package? We would like to ship it with geonode codebase if
> possible (like geonode.geoserver package inside geonode), because we might
> need to modify geonode code. For example, providing support for different
> kinds of file types that QGIS can process.
>
> I’m happy to receive some feedback on this.
> --
> Rizky Maulana Nugraha
> Software Developer
> rizky at kartoza.com
>
>
>
>
>> On May 23, 2017, at 10:38, Jayesh Gohel <jayesh.gohel at gmail.com> wrote:
>>
>> Ideally shouldn't the QGIS backend be available as a module (a contrib project, in geonode terms) since it is optional? I am unaware if this is even possible.
>>
>> On 23-May-2017 3:43 AM, "Jeffrey Johnson" <ortelius at gmail.com> wrote:
>> Definitely lets try to merge these things in piece by piece and add to
>> the tests stepwise. Im sure Tim can help with that.
>>
>> On Sun, May 21, 2017 at 10:16 PM, Rizky Maulana Nugraha
>> <rizky at kartoza.com> wrote:
>> > Hi Ragnvald,
>> >
>> > We are trying to keep up with latest GeoNode update.
>> > Because of the latest changes, the old geonode_qgis_server package is not
>> > working correctly.
>> > If you are interested with our development state, you can visit
>> >
>> > https://github.com/kartoza/geonode
>> >
>> > Our latest changes is in master-qgis_server branch
>> > I also made a small wiki here:
>> >
>> > https://github.com/kartoza/geonode/wiki/QGIS-Server-Backend-Configuration
>> >
>> > We are planning to move the qgis_server backend package itself into GeoNode.
>> > As I think this is also a perfect opportunity for me to raise a question
>> > about merging these changes to GeoNode,
>> > can someone give me an advice on how to make a PR to GeoNode?
>> > I’m concerned because I think the changes will be quite big, so I prefer if
>> > we can merge it in stages?
>> > That way, even if QGIS Server backend is not fully functional in the first
>> > PR, we can create another smaller PR
>> > for bugfix and improving unit tests to make sure it works tightly with
>> > GeoNode.
>> >
>> > Jeffrey, do you have any comment on this?
>> >
>> > Regards,
>> > --
>> > Rizky Maulana Nugraha
>> > Software Developer
>> > Kartoza
>> > rizky at kartoza.com
>> >
>> >
>> >
>> >
>> > On May 22, 2017, at 10:52, Ismail Sunni <imajimatika at gmail.com> wrote:
>> >
>> > Hi Ragnvald
>> >
>> > I cc’ed my friend in Kartoza, Rizky Maulana, who is currently the maintainer
>> > of GeoNode with QGIS Server project.
>> >
>> > Best Regards
>> >
>> > —
>> > Ismail Sunni
>> > Software Engineer at Kartoza
>> >
>> > On 21May, 2017, at 04:54, Ragnvald Larsen <ragnvald at mindland.com> wrote:
>> >
>> > Looks like the plugin which should be in place for QGIS is not available in
>> > the general repositories. There is mention of it at the Kartoza website, and
>> > its functionality is shown in the video you refer to. So this looks very
>> > good - only the documentation needs a little friendly help :-)
>> >
>> > I am very excited about geonode 2.6!
>> >
>> > 2017-05-20 16:49 GMT+02:00 Jeffrey Johnson <ortelius at gmail.com>:
>> >>
>> >> There is a video here showing what the Kartoza folks have been working
>> >> on recently. I suppose one of them will pipe up with some more
>> >> complete answers shortly.
>> >>
>> >> https://youtu.be/z0WYsEUNmg4
>> >>
>> >> On Sat, May 20, 2017 at 7:31 AM, Ragnvald Larsen <ragnvald at mindland.com>
>> >> wrote:
>> >> > Thanks Jeffrey - I would still need to know how to interact with the
>> >> > QGIS server. Will I need to restart the geonode server before trying my
>> >> > luck? And how do I interface with the QGIS server? Web user interface or
>> >> > connect via QGIS desktop.
>> >> >
>> >> > I am no novice at using QGIS, but using and managing data/layouts using
>> >> > the QGIS server in a ageonode context has left me with more questions than
>> >> > answers.
>> >> >
>> >> > That said I will be more than happy to contribute to the docs once I get
>> >> > my head sbove water :-)
>> >> >
>> >> > Vennlig hilsen
>> >> >
>> >> > Ragnvald
>> >> >
>> >> >> On 20 May 2017, at 15:27, Jeffrey Johnson <ortelius at gmail.com> wrote:
>> >> >>
>> >> >> The repo is here. Looks like the docs are not being published
>> >> >> correctly but there are in this repo.
>> >> >>
>> >> >> https://github.com/kartoza/geonode_qgis_server
>> >> >>
>> >> >> Tim or Gavin where is the best place for docs now?
>> >> >>
>> >> >>> On Sat, May 20, 2017 at 3:18 AM, Ragnvald Larsen
>> >> >>> <ragnvald at mindland.com> wrote:
>> >> >>> Browsing through the documentation I have found some references to a
>> >> >>> local
>> >> >>> settings file with references to using QGIS server instead of
>> >> >>> geoserver.
>> >> >>>
>> >> >>> Is there any documentation on how to set this up?
>> >> >>>
>> >> >>> Ragnvald
>> >> >>>
>> >> >>> _______________________________________________
>> >> >>> geonode-users mailing list
>> >> >>> geonode-users at lists.osgeo.org
>> >> >>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>> >> >>>
>> >> > _______________________________________________
>> >> > geonode-users mailing list
>> >> > geonode-users at lists.osgeo.org
>> >> > https://lists.osgeo.org/mailman/listinfo/geonode-users
>> >
>> >
>> > _______________________________________________
>> > geonode-users mailing list
>> > geonode-users at lists.osgeo.org
>> > https://lists.osgeo.org/mailman/listinfo/geonode-users
>> >
>> >
>> >
>> _______________________________________________
>> geonode-users mailing list
>> geonode-users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170523/4bb0f57b/attachment.html>
More information about the geonode-users
mailing list