[GeoNode-users] Embed Download layer facility in Geonode Map Client

Toni Schönbuchner toni.schoenbuchner at csgis.de
Thu Jun 21 01:59:05 PDT 2018


Dear Joshi,

in addition to Alessio. If all you need is to give users a button to download layers
and you do not have a problem that your geonode instance get´s visible you could just
quick and dirty add a button in mentioned templates positioned absolute above the map.

This button could link to the download page in a new tab or directly call the service for download.
As we´re in the django context you could check if the user has permissions or not.

It would also work to wait until dom has finished loading and add another button by use of jQuery in 
the geoext toolbar (a bit hackish as well).

As Alessio already said it would be cleanest to extend the geoext compornent which
depending on your js skill will be easy or hard.

cheers,

toni

> Am 21.06.2018 um 10:26 schrieb geonode-users-request at lists.osgeo.org:
> 
> Send geonode-users mailing list submissions to
> 	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
> 
> You can reach the person managing the list at
> 	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. Re: Embed Download layer facility in Geonode Map	Client
>      (Alessio Fabiani)
>   2. Re: GeoNode site gallery - call for new examples
>      (Annalisa Schiavon)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Thu, 21 Jun 2018 10:17:34 +0200
> From: Alessio Fabiani <alessio.fabiani at geo-solutions.it>
> To: "Joshi, Jigeeshu" <Jigeeshu.Joshi at ils-forschung.de>
> Cc: geonode-users <geonode-users at lists.osgeo.org>
> Subject: Re: [GeoNode-users] Embed Download layer facility in Geonode
> 	Map	Client
> Message-ID:
> 	<CAM7ZvL+VDrF3wizqr5_9oucudPXbY5sZUYPOv8jNBpCM9-o0gQ at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Hello Joshi,
> currently the Javascript configuration initializing the GIS client for the
> embedded map, is done through this template
> 
> https://github.com/GeoNode/geonode/blob/master/geonode/maps/templates/maps/map_embed.html#L14
> 
> You can either try to tweak the "GeoNode.Viewer" configuration by adding
> more components, or use the "GeoNode.Composer" instead like for the Map
> Edit page
> 
> https://github.com/GeoNode/geonode/blob/master/geonode/client/templates/geoext/maps/map_geoexplorer.js
> 
> 
> 
> Il giorno mer 20 giu 2018 alle ore 16:08 Joshi, Jigeeshu <
> Jigeeshu.Joshi at ils-forschung.de> ha scritto:
> 
>> Hi,
>> 
>> We are using Geonode 2.8 at our organization. We uploaded data/ layers and
>> we would like to publish map and embed the URL in our organization web page
>> to make it available to our clients. However, I find that the embed URL
>> does not have provision to download layers (for these layers download
>> permission is set to Anyone) in the map and query the layers.  It only
>> allows to identity the feature on the map as an attribute pop up table. How
>> could I add query tool and download layer tool in this map client.  Has
>> anyone tried it and could guide me ?
>> 
>> 
>> 
>> Thanks in advance !
>> 
>> 
>> 
>> Joshi
>> _______________________________________________
>> geonode-users mailing list
>> geonode-users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>> 
> 
> 
> -- 
> 
> ==
> 
> 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-users/attachments/20180621/1e489584/attachment-0001.html>
> 
> ------------------------------
> 
> Message: 2
> Date: Thu, 21 Jun 2018 10:26:06 +0200
> From: Annalisa Schiavon <annalisa.schiavon at gmail.com>
> To: "G. Allegri" <giovanni.allegri at geo-solutions.it>
> Cc: geonode-users <geonode-users at lists.osgeo.org>
> Subject: Re: [GeoNode-users] GeoNode site gallery - call for new
> 	examples
> Message-ID:
> 	<CAPr6aCvjQi6UmFzd8=OaQzdMovjm7meDa-tbF=TB+q2UKR7GAA at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Hi, this is the geoportal of environmental open data of Veneto (Italy):
> 
> http://geomap.arpa.veneto.it/
> 
> Annalisa Schiavon
> 
> 2018-06-20 16:29 GMT+02:00 G. Allegri <giovanni.allegri at geo-solutions.it>:
> 
>> Hi everybody,
>> 
>> the sites gallery of GeoNodes' site (http://geonode.org/gallery/) is an
>> important showcase for newcomers to get an idea of GeoNode's potential,
>> both as a "vanilla" instance or a customized project.
>> 
>> We invite everybody to contribute and enrich the gallery with relevant
>> examples.
>> 
>> As GeoSolutions we propose the following list from some of our latest
>> projects:
>> 
>>   - IHP-WINS (UNESCO): http://ihp-wins.unesco.org/
>>   - Disasterrisk (Afghanistan): http://disasterrisk.af/
>>   - IGAD Geoportal: http://igad-aws.geo-solutions.it/
>>   - Uganda Bureau of Statistics: http://ubos.geo-solutions.it/
>>   - HEV-E (World Bank): http://assess-risk.info/#/ - custom project with
>>   GeoNode as a backend
>> 
>> 
>> All the best,
>> Giovanni
>> 
>> 
>> --
>> Giovanni Allegri
>> GeoSolutions S.A.S.
>> Via di Montramito 3/A
>> <https://maps.google.com/?q=Via+di+Montramito+3/A%0D+55054+%C2%A0Massarosa&entry=gmail&source=g>
>> 55054  Massarosa
>> <https://maps.google.com/?q=Via+di+Montramito+3/A%0D+55054+%C2%A0Massarosa&entry=gmail&source=g>
>> (LU)
>> Italy
>> phone: +39 0584 962313 <+39%200584%20962313>
>> fax:     +39 0584 1660272 <+39%200584%20166%200272>
>> 
>> 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.
>> 
>> _______________________________________________
>> 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/20180621/d2080413/attachment.html>
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
> 
> 
> ------------------------------
> 
> End of geonode-users Digest, Vol 41, Issue 52
> *********************************************



More information about the geonode-users mailing list