[GeoNode-devel] Switching to MapStore in GeoNode

Paolo Pasquali paolo.pasquali at gmail.com
Tue Apr 2 03:46:52 PDT 2019


Ciao Alessio,

I've probably messed up  my docker installation. I've solved rebuilding and
adding the mapstore packages in the requirements.
I'm still not sure why it didn't work by pip installing them after the
initial setup.

Anyway, thank you Alessio for your support.

I'll get back to you for more info about MapStore for sure... 😀

Ciao,


P.


On Mon, Apr 1, 2019 at 6:39 PM Alessio Fabiani <
alessio.fabiani at geo-solutions.it> wrote:

> P.S.: it works only with GeoNode 2.10+
>
> Il giorno lun 1 apr 2019 alle ore 18:36 Alessio Fabiani <
> alessio.fabiani at geo-solutions.it> ha scritto:
>
>> That is quite strange. Have you been able to get a stacktrace somehow?
>> Maybe try to comment the "GEONODE_CLIENT_HOOKSET" in order to check that
>> the exception does not occur or it is hidden by another one.
>>
>> Il giorno lun 1 apr 2019 alle ore 18:13 Paolo Pasquali <
>> paolo.pasquali at gmail.com> ha scritto:
>>
>>> Ciao Alessio,
>>>
>>> My settings section starts with:
>>>
>>> # To enable the MapStore2 based Client enable those
>>> if 'geonode_mapstore_client' not in INSTALLED_APPS:
>>>     INSTALLED_APPS += (
>>>         'mapstore2_adapter',
>>>         'geonode_mapstore_client',)
>>> GEONODE_CLIENT_LAYER_PREVIEW_LIBRARY = 'mapstore'  # DEPRECATED use
>>> HOOKSET instead
>>> GEONODE_CLIENT_HOOKSET =
>>> "geonode_mapstore_client.hooksets.MapStoreHookSet"
>>>
>>>
>>> Thanks,
>>>
>>>
>>> P.
>>>
>>> --------------------
>>> Paolo Pasquali
>>> ITHACA - Information Technology for Humanitarian Assistance, Cooperation
>>> and Action
>>> via Pier Carlo Boggio, 61
>>> 10138 Torino - Italy
>>> Tel. +39 011 1975 1872
>>> Fax +39 011 1975 1122
>>>
>>>
>>> On Mon, Apr 1, 2019 at 5:53 PM Alessio Fabiani <
>>> alessio.fabiani at geo-solutions.it> wrote:
>>>
>>>> Hello Paolo,
>>>>
>>>> can you check if the before the Hookset you have the following sentence
>>>> in your settings file
>>>>
>>>> if 'geonode_mapstore_client' not in INSTALLED_APPS:
>>>>     INSTALLED_APPS += (
>>>>         'mapstore2_adapter',
>>>>         'geonode_mapstore_client',)
>>>>
>>>>
>>>>
>>>> Il giorno lun 1 apr 2019 alle ore 17:45 Paolo Pasquali <
>>>> paolo.pasquali at gmail.com> ha scritto:
>>>>
>>>>> Dear all,
>>>>>
>>>>> I would like to test MapStore in GeoNode. I've followed the
>>>>> instructions [1] and removed the related comments in my settings but I get:
>>>>>
>>>>> ImportError: No module named mapstore2_adapter
>>>>>
>>>>>
>>>>> Double checking:
>>>>>
>>>>>
>>>>> $ pip show django-mapstore-adapter
>>>>>
>>>>> Name: django-mapstore-adapter
>>>>>
>>>>> Version: 0.1.13
>>>>>
>>>>> Summary: Django MapStore2 Adapter
>>>>>
>>>>> Home-page: https://github.com/geosolutions-it/django-mapstore-adapter
>>>>>
>>>>> Author: Alessio Fabiani
>>>>>
>>>>> Author-email: alessio.fabiani at geo-solutions.it
>>>>>
>>>>> License: UNKNOWN
>>>>>
>>>>> Location:
>>>>> /Users/paolo/Documents/workspaces/teragrop/lib/python2.7/site-packages
>>>>>
>>>>> Requires: Markdown, requests, django, jsonfield, djangorestframework,
>>>>> idna, MarkupSafe
>>>>>
>>>>> Required-by: django-geonode-mapstore-client
>>>>>
>>>>>
>>>>> And
>>>>>
>>>>>
>>>>> $ pip show django-geonode-mapstore-client
>>>>>
>>>>> Name: django-geonode-mapstore-client
>>>>>
>>>>> Version: 0.1.18
>>>>>
>>>>> Summary: Use GeoNode client in your django projects
>>>>>
>>>>> Home-page: https://github.com/GeoNode/geonode-mapstore-client
>>>>>
>>>>> Author: Alessio Fabiani
>>>>>
>>>>> Author-email: alessio.fabiani at gmail.com
>>>>>
>>>>> License: BSD, see LICENSE file.
>>>>>
>>>>> Location:
>>>>> /Users/paolo/Documents/workspaces/teragrop/lib/python2.7/site-packages
>>>>>
>>>>> Requires: django-mapstore-adapter
>>>>>
>>>>> Required-by:
>>>>>
>>>>>
>>>>>
>>>>> Thanks in advance for your help.
>>>>>
>>>>>
>>>>> Best,
>>>>>
>>>>>
>>>>>
>>>>> Paolo
>>>>>
>>>>>
>>>>> [1]
>>>>> https://github.com/geosolutions-it/geonode-mapstore-client#integrating-into-geonodedjango
>>>>> _______________________________________________
>>>>> geonode-devel mailing list
>>>>> geonode-devel at lists.osgeo.org
>>>>> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> ==
>>>>
>>>> GeoServer Professional Services from the experts! Visit
>>>> http://goo.gl/it488V for more information.
>>>> ==
>>>> Ing. Alessio Fabiani
>>>>
>>>> @alfa7691
>>>> Founder/Technical Lead
>>>>
>>>>
>>>> GeoSolutions S.A.S.
>>>> Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
>>>> phone: +39 0584 962313
>>>> fax:     +39 0584 1660272
>>>> mob:   +39 331 6233686
>>>>
>>>>
>>>> http://www.geo-solutions.it
>>>> http://twitter.com/geosolutions_it
>>>> -------------------------------------------------------
>>>>
>>>> Con riferimento alla normativa sul trattamento dei dati personali (Reg.
>>>> UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
>>>> precisa che ogni circostanza inerente alla presente email (il suo
>>>> contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
>>>> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
>>>> messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
>>>> operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
>>>>
>>>>
>>>> This email is intended only for the person or entity to which it is
>>>> addressed and may contain information that is privileged, confidential or
>>>> otherwise protected from disclosure. We remind that - as provided by
>>>> European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
>>>> e-mail or the information herein by anyone other than the intended
>>>> recipient is prohibited. If you have received this email by mistake, please
>>>> notify us immediately by telephone or e-mail.
>>>>
>>>
>>
>> --
>>
>> ==
>>
>> GeoServer Professional Services from the experts! Visit
>> http://goo.gl/it488V for more information.
>> ==
>> Ing. Alessio Fabiani
>>
>> @alfa7691
>> Founder/Technical Lead
>>
>>
>> GeoSolutions S.A.S.
>> Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
>> phone: +39 0584 962313
>> fax:     +39 0584 1660272
>> mob:   +39 331 6233686
>>
>>
>> http://www.geo-solutions.it
>> http://twitter.com/geosolutions_it
>> -------------------------------------------------------
>>
>> Con riferimento alla normativa sul trattamento dei dati personali (Reg.
>> UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
>> precisa che ogni circostanza inerente alla presente email (il suo
>> contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
>> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
>> messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
>> operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
>>
>>
>> This email is intended only for the person or entity to which it is
>> addressed and may contain information that is privileged, confidential or
>> otherwise protected from disclosure. We remind that - as provided by
>> European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
>> e-mail or the information herein by anyone other than the intended
>> recipient is prohibited. If you have received this email by mistake, please
>> notify us immediately by telephone or e-mail.
>>
>
>
> --
>
> ==
>
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information.
> ==
> Ing. Alessio Fabiani
>
> @alfa7691
> Founder/Technical Lead
>
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
> phone: +39 0584 962313
> fax:     +39 0584 1660272
> mob:   +39 331 6233686
>
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
> -------------------------------------------------------
>
> Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
> 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
> precisa che ogni circostanza inerente alla presente email (il suo
> contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
> messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
> operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
>
>
> This email is intended only for the person or entity to which it is
> addressed and may contain information that is privileged, confidential or
> otherwise protected from disclosure. We remind that - as provided by
> European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
> e-mail or the information herein by anyone other than the intended
> recipient is prohibited. If you have received this email by mistake, please
> notify us immediately by telephone or e-mail.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20190402/0cb3e746/attachment-0001.html>


More information about the geonode-devel mailing list