[GeoNode-users] geonode-users Digest, Vol 47, Issue 29

Dejan Samardzic dejan.samardzic at cedis.me
Mon Dec 17 01:59:28 PST 2018


Thanks Alessio,
Does Leaflet/maps work well in Geonode 2.8.1 docker installation ?
Another notice about GeoNode 2.10rc4 docker installation:
When we upload layer into Geonode it's invisible (well zoomed but invisible). We have to remove it from GeoWebCache layers and put it back. After that, layers are displayed well.
Please look detailed issue description in video:

https://www.youtube.com/watch?v=oP9VXRUH4d8

regards,
Dejan.

On 12/17/2018 10:37 AM, geonode-users-request at lists.osgeo.org<mailto:geonode-users-request at lists.osgeo.org> wrote:

Send geonode-users mailing list submissions to
        geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.osgeo.org/mailman/listinfo/geonode-users
or, via email, send a message with subject or body 'help' to
        geonode-users-request at lists.osgeo.org<mailto:geonode-users-request at lists.osgeo.org>

You can reach the person managing the list at
        geonode-users-owner at lists.osgeo.org<mailto:geonode-users-owner at lists.osgeo.org>

When replying, please edit your Subject line so it is more specific
than "Re: Contents of geonode-users digest..."


Today's Topics:

   1. Leaflet maps are not working (Dejan Samardzic)
   2. Re: Leaflet maps are not working (Alessio Fabiani)


----------------------------------------------------------------------

Message: 1
Date: Mon, 17 Dec 2018 09:32:28 +0000
From: Dejan Samardzic <dejan.samardzic at cedis.me><mailto:dejan.samardzic at cedis.me>
To: "geonode-users-request at lists.osgeo.org"<mailto:geonode-users-request at lists.osgeo.org>
        <geonode-users-request at lists.osgeo.org><mailto:geonode-users-request at lists.osgeo.org>,
        "geonode-users at lists.osgeo.org"<mailto:geonode-users at lists.osgeo.org> <geonode-users at lists.osgeo.org><mailto:geonode-users at lists.osgeo.org>
Subject: [GeoNode-users] Leaflet maps are not working
Message-ID: <3eabdccbe84a4d52bcac4405601596c8 at cedis.me><mailto:3eabdccbe84a4d52bcac4405601596c8 at cedis.me>
Content-Type: text/plain; charset="iso-8859-2"

Dear Geonode community,
We have installed Geonode 2.10rc4 on Ubuntu 18.04. Installation has been made on docker, using the following Mr. Alessio's instructions:

https://docs.google.com/document/d/1S0ac9IR9IW9tUjMu7JETPLUjnfQ6P87m1PKNko8IPWY/edit

After basic geonode installation, we have enabled Leaflet by changing in django docker in file:
/usr/src/app/geonode/settings.py
#GEONODE_CLIENT_LAYER_PREVIEW_LIBRARY = 'geoext'  # DEPRECATED use HOOKSET instead
#GEONODE_CLIENT_HOOKSET = "geonode.client.hooksets.GeoExtHookSet"
# To enable the Leaflet based Client enable those

GEONODE_CLIENT_LAYER_PREVIEW_LIBRARY = 'leaflet'  # DEPRECATED use HOOKSET instead
GEONODE_CLIENT_HOOKSET = "geonode.client.hooksets.LeafletHookSet"

But now layers are displaying correctly, but maps are not working at all. Layers drop down list is not populated and error is displaying in console log.
Please look detailed issue description in video:

https://www.youtube.com/watch?v=IJQTeFzBi_E

regards,
Dejan.
--



 Dejan Samardžić        Rukovodilac Sektora za ICT / IT Manager

[cid:part3.9EDB3BDD.CC5F8FA8 at cedis.me]
CEDIS d.o.o.
Ivana Milutinovića 12, 81000 Podgorica
gsm:    +382 67 220 971
tel:    +382 20 408 453
email:  dejan.samardzic at cedis.me<mailto:dejan.samardzic at cedis.me><mailto:dejan.samardzic at cedis.me><mailto:dejan.samardzic at cedis.me>
web:    www.cedis.me<http://www.cedis.me><http://www.cedis.me><http://www.cedis.me>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20181217/ba199e46/attachment-0001.html><http://lists.osgeo.org/pipermail/geonode-users/attachments/20181217/ba199e46/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ajhdamaioidcghbl.jpg
Type: image/jpeg
Size: 1641 bytes
Desc: ajhdamaioidcghbl.jpg
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20181217/ba199e46/attachment-0001.jpg><http://lists.osgeo.org/pipermail/geonode-users/attachments/20181217/ba199e46/attachment-0001.jpg>

------------------------------

Message: 2
Date: Mon, 17 Dec 2018 10:37:29 +0100
From: Alessio Fabiani <alessio.fabiani at geo-solutions.it><mailto:alessio.fabiani at geo-solutions.it>
To: dejan.samardzic at cedis.me<mailto:dejan.samardzic at cedis.me>
Cc: geonode-users-request at lists.osgeo.org<mailto:geonode-users-request at lists.osgeo.org>,  geonode-users
        <geonode-users at lists.osgeo.org><mailto:geonode-users at lists.osgeo.org>
Subject: Re: [GeoNode-users] Leaflet maps are not working
Message-ID:
        <CAM7ZvLKGZc4KUcAB+qNk-5nwoLg-rTX3RCzkfh4pAPt8JeaDyQ at mail.gmail.com><mailto:CAM7ZvLKGZc4KUcAB+qNk-5nwoLg-rTX3RCzkfh4pAPt8JeaDyQ at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Dear Dejan,
from your video it looks like a jQuery error is preventing Leaflet to load
correctly.

I'm afraid this is a regression and we should open a GitHub Issue for that
and wait for some available dev resource to take a look at it.
Best regards,
Alessio.


Il giorno lun 17 dic 2018 alle ore 10:32 Dejan Samardzic <
dejan.samardzic at cedis.me<mailto:dejan.samardzic at cedis.me>> ha scritto:



Dear Geonode community,
We have installed Geonode 2.10rc4 on Ubuntu 18.04. Installation has been
made on docker, using the following Mr. Alessio's instructions:


https://docs.google.com/document/d/1S0ac9IR9IW9tUjMu7JETPLUjnfQ6P87m1PKNko8IPWY/edit

After basic geonode installation, we have enabled Leaflet by changing in
django docker in file:
/usr/src/app/geonode/settings.py
#GEONODE_CLIENT_LAYER_PREVIEW_LIBRARY = 'geoext'  # DEPRECATED use HOOKSET
instead
#GEONODE_CLIENT_HOOKSET = "geonode.client.hooksets.GeoExtHookSet"
# To enable the Leaflet based Client enable those

GEONODE_CLIENT_LAYER_PREVIEW_LIBRARY = 'leaflet'  # DEPRECATED use HOOKSET
instead
GEONODE_CLIENT_HOOKSET = "geonode.client.hooksets.LeafletHookSet"

But now layers are displaying correctly, but maps are not working at all.
Layers drop down list is not populated and error is displaying in console
log.
Please look detailed issue description in video:

https://www.youtube.com/watch?v=IJQTeFzBi_E

regards,
Dejan.
--


* Dejan Samardžić* Rukovodilac Sektora za ICT / IT Manager

CEDIS d.o.o.
Ivana Milutinovića 12, 81000 Podgorica
gsm: +382 67 220 971
tel: +382 20 408 453
email: dejan.samardzic at cedis.me<mailto:dejan.samardzic at cedis.me>
web: www.cedis.me<http://www.cedis.me>


_______________________________________________
geonode-users mailing list
geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/geonode-users







--



 Dejan Samardžić        Rukovodilac Sektora za ICT / IT Manager

[cid:part1.A596F8A0.1F8C1F72 at cedis.me]
CEDIS d.o.o.
Ivana Milutinovića 12, 81000 Podgorica
gsm:    +382 67 220 971
tel:    +382 20 408 453
email:  dejan.samardzic at cedis.me<mailto:dejan.samardzic at cedis.me>
web:    www.cedis.me<http://www.cedis.me>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20181217/d12b8469/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 1641 bytes
Desc: image001.jpg
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20181217/d12b8469/attachment.jpg>


More information about the geonode-users mailing list