On Sat, Oct 29, 2011 at 8:59 AM, Gianni Barrotta
<[email protected]> wrote:
> Hi,
> I need to set storeSupported=true in the DescribeProcess xml response.
>
> <wps:ProcessDescriptions xml:lang="en" service="WPS" version="1.0.0"
> xsi:schemaLocation="http://www.opengis.net/wps/1.0.0
> http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd";>        <ProcessDescription
> wps:processVersion="1.0.0" statusSupported="false" storeSupported="false">
>             <ows:Identifier>gs:TranscodeRaster</ows:Identifier>
>             <ows:Title/><ows:Abstract/>
>                     <DataInputs>
> ----------------
> ----------------
>
> With the @DescribeProcess tag in the java class implementing the process you
> can set the Identifier, Title and other useful xml elements, but I couldn't
> find any way to set the storeSupported attribute.
>
> Any idea?

In the current framework store support is not part of the process
responsibilites,
it's part of the WPS container responsibilities.
GeoServer WPS supports store on all requests, just fails to advertise it:
http://jira.codehaus.org/browse/GEOS-4832

I guess for processes that already generate files it would be useful to have
some facility to just use the generated file.
I guess the process could trade some specific argument type that GeoServer
treats in a special way, something that has both a reference to a file and
the knowledge of its mime type, could be something like:

class BynaryParameter {
  URL file;
  String mime;
}

But then the process should also be able to report the supported mime types.
I guess those would have to be declared in a new annotation somehow, and
then find their way up, via the GeoTools process api, into the DescribeProcess

Hmm... sounds feasible, but it would require quite a bit of changes around
in the code.

Cheers
Andrea

-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World&#153; now supports Android&#153; Apps 
for the BlackBerry&reg; PlayBook&#153;. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to