Grazie Fabrizio,
Your patch is for the WPS plugin itself, or? We’re at DLR only working with the
community Python module and one of the things missing would be a documentation
which type mapping are done (Python -> WPS) internally. The WPS processes
provided by Geoserver already output files as results (RawOutput) so we we’re
curious if this functionality can be used via the Scripting Extension – in
general the functionality of file results in the WPS extension is already there
as I observed…
Thomas
Von: Fabrizio Tringali [mailto:[email protected]]
Gesendet: Dienstag, 9. Juli 2013 11:02
An: [email protected]
Betreff: Re: [Geoserver-users] Returning any kind of file with WPS python script
Thomas, Justin
I developed some changes to an older version of GeoServer/GeoTools (2.2 / 8) in
order to enable base64 complex objects management at the WPS level.
I never found enough time to send a patch as required by current policies, but
if you drop me a line I will share them with you and maybe that could be useful
Cheers,
Fabrizio
=======From: Justin Deoliveira
<[email protected]<mailto:[email protected]>>=====
Hey Thomas,
On Fri, Jul 5, 2013 at 12:25 PM,
<[email protected]<mailto:[email protected]>> wrote:
> We?re planning to return a zip-file. We were hoping that it?s possible
> to return a file via the scripting plugin, but of course this cannot be
> simply the path as string, so we were thinking it might be possible by
> providing a file object.
>
Right, i got that from the first post but what does the zip file contain is
my questions. Regardless i am thinking your use case is probably not
supported via a wps plugin. You could however use an "app" hook which
basically gives you an http invokable endpoint where you are free to return
any sort of content you choose.
****
>
> We really hope this is somehow possible but do not know in which way we?d
> have to provide results to make Geoserver (WPS) return a RawOutput instead
> of a ResultDocument and how to specify a Content-Type or Mime-Type.****
>
> **
>
Can you open a jira issue for this. Thanks.
> **
>
> Thanks,****
>
> Thomas****
>
> ** **
>
> ** **
>
> *Von:* Justin Deoliveira
> [mailto:[email protected]<mailto:[email protected]>]
> *Gesendet:* Freitag, 5. Juli 2013 17:07
> *An:* Herle, Stefan
> *Cc:*
> [email protected]<mailto:[email protected]>
> *Betreff:* Re: [Geoserver-users] Returning any kind of file with WPS
> python script****
>
> ** **
>
> Hey Stefan,****
>
> ** **
>
> What sort of data are you returning from the process? If you can provide a
> bit more info that would be great.****
>
> ** **
>
> -Justin****
>
> ** **
>
> ** **
>
> ** **
>
> On Fri, Jul 5, 2013 at 6:38 AM,
> <[email protected]<mailto:[email protected]>> wrote:****
>
> Hey,****
>
> ****
>
> I am trying to return a file (.zip) in a WPS python script but I have no
> clue which type to choose for the output in the python decorator. ****
>
> I know that it is possible to define a raw data output in general but
> what are the specific type mappings used in the WPS python script.****
>
> ****
>
> Thanks!****
>
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users