On Tue, Jul 9, 2013 at 12:24 PM, <[email protected]> wrote:

>  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…7
>

I believe you're hitting a current limitation in the design of the WPS
subsystem, one that would require some work to be sorted
out in a general way.

Basically, the processes we deal with are meant to exist outside of the
WPS, and be usable as library bits or
in desktop tools, as a result they don't have a notion of mime types in
either input or output, but normally
trade java objects instead.
Then the WPS searches the appropriate ProcessParameterIO class to transform
the provided inputs (e.g., geojson)
into the GeoTools feature collection used as an input by the process, and
then searches for another ProcessParameterIO
to turn the output, say a GridCoverage2D, into the requested output type,
for example a GeoTiff.

A process that knows about input and output mime types would be something
WPS specific, while there is interest
in supporting also that use cases (processes exchanging files, and able to
get and generate different types of files),
there has been no funding, or someone interested in working that in their
spare time, to move into that direction.

One year ago I've tried to start up a discussion to get these improvements
going, but unfortunately I only had
a very short time window to work on it (one day, take or leave), and quite
understandably
the community response was not quick enough to allow me to follow up with
development:
http://osgeo-org.1560.x6.nabble.com/Process-annotations-improvements-with-a-WPS-bit-td4979927.html


Cheers
Andrea

-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
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

Reply via email to