[GeoNode-devel] QueryBuilder for Download Layer functionality
Alessio Fabiani
alessio.fabiani at geo-solutions.it
Fri Jun 3 06:11:14 PDT 2016
Dear all,
very nice tool, it looks promising and quite useful too.
It would be possible to have some more details on its implementation and
how it interacts with GeoServer?
In the past we <http://www.geo-solutions.it> had some headaches building a
complete and reliable download plugin for GeoServer.
In the end we implemented it as a WPS process capable of subsetting through
several strategies (intersect or crop) all kind of datasets (both raster
and vectorial). It is also capable of reprojecting the outcome, estimate
the download size before starting the process, prepare the outcome ZIP
archive (along with associated layer styles) asynchrounsly also and provide
back a progress and/or a download link. It is also able to send an email to
the requester when the file is ready. It was thought to allow GeoServer
subsetting and downloading reliably also big datadsets and manage different
download requests without overloading the server.
The plugin is available as a community plugin here
http://docs.geoserver.org/stable/en/user/community/wps-download/index.html
code available here
https://github.com/geoserver/geoserver/tree/master/src/community/wps-download
Maybe you want to consider the use of such plugin to extend the
capabilities of your query plugin instead of relying only on CQL filters
(if I understood correctly how the tool currently works).
If so we can envisage the inclusion of the WPS Download process into the
official distribution of the GeoNode-GeoServer-ext package.
Best Regards,
Alessio Fabiani.
==
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
-------------------------------------------------------
*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
---------------------------------------------------------------------
On Tue, May 24, 2016 at 10:33 AM, Eugenio Trumpy <frippe12573 at hotmail.com>
wrote:
> Ho Dimitris and all,
>
> the tool you developed it' really fantastic as well as useful from my
> point of view.
> Your work made me think about a possible tool: it could be nice to have a
> query builder for the layer to insert in the map composer, just a sort of a
> layer pre-filter. Moreover I wonder even if having a combo box, including
> possible values, in the query builder is easy to implement.
>
> This my 2 cents.
> Best
>
> Eugenio
>
> ------------------------------
> Date: Mon, 23 May 2016 17:14:49 +0200
> From: karakostis.dimitris at gmail.com
> To: pjdufour.dev at gmail.com
> Subject: Re: [GeoNode-devel] QueryBuilder for Download Layer functionality
> CC: geonode-devel at lists.osgeo.org
>
>
>
> Hi guys,
>
> I have deployed the newly developed 'Query Builder and Map Filter' tool
> in our staging server for WFP Geonode:
> http://staging.geonode.wfp.org/layers/ There are still several features
> to be added but you can have a look and give some recommendations,
> improvement ideas etc.
> To use the tool, select a layer, click the Download button and then the
> Layer Filtering.
>
> Cheers
> Dimitris
>
>
>
> On Mon, May 16, 2016 at 9:09 PM, Patrick Dufour <pjdufour.dev at gmail.com>
> wrote:
>
> Yes, I can help with the GNIP when ready.
>
> The implementation will leverage the cql_filter GeoServer WFS querystring
> parameter, as such no changes to GeoServer or django DB models are needed.
>
> Regards,
> Patrick Dufour
> On May 16, 2016 6:11 PM, "Jeffrey Johnson" <ortelius at gmail.com> wrote:
>
> This is really awesome!
>
> Can you file a GNIP for this so we can discuss the implementation as a
> group? If you need help with that, let us know. You will need a core
> committer to actually file the GNIP. Perhaps Patrick can help?
>
> Looking forward to seeing/using this!
>
> Jeff
>
> On Mon, May 16, 2016 at 2:34 AM, Dimitris Karakostis
> <karakostis.dimitris at gmail.com> wrote:
> >
> >
> > Hello guys,
> >
> > How are you doing? I wanted to share with you our current development
> > plans/progress for WFPGeonode. During the last week I have been working
> on
> > the implementation of a 'Query Builder' functionality in order to be
> able to
> > download specific parts of layers in the provided formats (kml, xls, csv,
> > zipped shape, geojson).
> >
> > The user can build the query by :
> > 1. selecting from a dropdown menu the available attributes,
> > 2. selecting an operator,
> > 3. enter a valid value
> >
> > The different statements of the query can be combined either with AND or
> OR
> > operator. I have also used the OWSLib (0.11.0; thanks Tom) in order to
> get
> > the type of attributes and apply some sort of validation (e.g. if you
> try to
> > put a string, while number is expected then you get an error message).
> >
> > For the above process I have used JQuery for the JS functionality and
> > BootstrapCSS for the gui. The tool is part of the 'Download Layer' modal
> and
> > is currently being tested and making small fixes.
> >
> > The next step will be to build a map tool, which you will select the
> area of
> > interest (rectangle tool; bounding box etc.) and download it.
> >
> > I attach some screenshots of the two tools. If you have any
> > ideas/advice/comments please let me know. They are most welcome!
> >
> > Cheers
> > Dimitris
> >
> > _______________________________________________
> > geonode-devel mailing list
> > geonode-devel at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/geonode-devel
> >
> _______________________________________________
> geonode-devel mailing list
> geonode-devel at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-devel
>
>
>
> _______________________________________________ geonode-devel mailing list
> geonode-devel at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-devel
>
> _______________________________________________
> geonode-devel mailing list
> geonode-devel at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20160603/8cdc398c/attachment.html>
More information about the geonode-devel
mailing list