[GeoNode-devel] QueryBuilder for Download Layer functionality
Paolo Corti
pcorti at gmail.com
Wed Jun 8 10:39:32 PDT 2016
Hey Simone and Alessio
thanks for the feedback.
Sure, having an asynchronous process to generate datasets for download
user requests is something we have been talking since a while.
In my opinion this process shouldn't be tied to GeoServer, but should
be Pythonic, in the form of tasks in Celery for example. And of
course, using ogr2ogr and gdal_translate
This way code will work even when once it will be possible to use
GeoNode with different map servers (for example with the QGIS Server
one).
Obviously if you guys have something already working as a GeoServer
WPS, it would be very welcome in the meanwhile!
thanks again
p
On Wed, Jun 8, 2016 at 4:28 AM, Simone Giannecchini
<simone.giannecchini at geo-solutions.it> wrote:
> Ciao Paolo,
> there is nothing "wrong" in your approach, it is more than
> reasonable., but I second what Alessio is saying.
>
> We used that approach in the past then we moved away for various reasons:
>
> -1- synch requests with WFS tends to perform badly when the work to do
> is non trivial (large extraction, reprojections, etc...)
> -2- you need to use WFS for vector and WCS for raster
>
> I would recommend having a quick look at this page:
> http://docs.geoserver.org/stable/en/user/community/wps-download/index.html
>
> In addition you can also chain the WPS ogr and gdal output to get more
> output formats.
>
> You can try a live instance here:
> http://sit.comune.bolzano.it/mapstore/?config=download
>
> (easy, low-end infrastructure :) )
>
>
>
> Regards,
> Simone Giannecchini
> ==
> GeoServer Professional Services from the experts!
> Visit http://goo.gl/it488V for more information.
> ==
> Ing. Simone Giannecchini
> @simogeo
> Founder/Director
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> 55054 Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39 333 8128928
>
> 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 Wed, Jun 8, 2016 at 10:20 AM, Alessio Fabiani
> <alessio.fabiani at geo-solutions.it> wrote:
>> Well, first of all it does not allow to filter raster layers, secondly the
>> filter could be potentially too big and finally it allow you just to filter
>> out subsets of data.
>>
>> Everything works fine until you have small datasets and you don need to crop
>> and reproject the outcomes.
>>
>> Finally, as far as I understood, everything is done synchronously. In other
>> words you lock the server until the request has finished. Again, it works
>> well until you have elatively small vectorial datasets.
>>
>> 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, Jun 7, 2016 at 8:53 PM, Paolo Corti <pcorti at gmail.com> wrote:
>>>
>>> Hello Alessio
>>>
>>> On Fri, Jun 3, 2016 at 9:11 AM, Alessio Fabiani
>>> <alessio.fabiani at geo-solutions.it> wrote:
>>> >
>>> > 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).
>>> >
>>>
>>> Would love to learn what is wrong in relying on CQL filters
>>> thanks a lot
>>> p
>>>
>>> --
>>> Paolo Corti
>>> Geospatial software developer
>>> web: http://www.paolocorti.net
>>> twitter: @capooti
>>> skype: capooti
>>
>>
>>
>> _______________________________________________
>> geonode-devel mailing list
>> geonode-devel at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/geonode-devel
>>
--
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti
More information about the geonode-devel
mailing list