Hi Ian,

thanks for the hint. Had a look at the DescribeProcess response and the WPS 
spec already but couldn't really get it working based on that.


The spec says:

Complex := InputId “=” Value *( “@” ComplexAttribute )
ComplexAttribute:= ComplexAttributeName “=” Value
ComplexAttributeName := “mimetype” | “encoding” | “schema"

Based on I assumed the syntax for the second parameter would be:
clip=<wkt-polygon-text>@mimetype=application/wkt.


But that didn't work unfortunately.


Cheers,

Max

________________________________
Von: Ian Turton <ijtur...@gmail.com>
Gesendet: Dienstag, 10. Mai 2016 17:31:47
An: Max Stephan
Cc: geoserver-users
Betreff: Re: [Geoserver-users] WPS Execute GET request KVP syntax

You probably need to read the Spec 
(http://portal.opengeospatial.org/files/?artifact_id=24151) - start around page 
38 which covers how to specify and encode your parameters. As for which 
parameters are needed look at the DescribeProcess response.



Ian

On 10 May 2016 at 16:12, xzam <m...@maxstephan.com<mailto:m...@maxstephan.com>> 
wrote:
Hi,

I am having a bit of a hard time getting a WPS execution to run through a
GET request as the documentation about the geoserver specifics of this is a
bit sparse.

I want to use the gs:Clip function.

So, as a base I need the following parameters:
* service=wps
* version=1.0.0
* request=execute
* identifier=gs:Clip

Now I struggle with the Data inputs. The features to clip come directly from
a Geoserver layer whereas the clipping features are provided in WKT.

For the internal Geoserver feature I am using a standard WFS getFeature
request. Is there an internal pipeline for achieving the same:
*
features=@xlink:http://<my-geoserver-host>/geoserve/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=<myLayer>&maxFeatures=50&outputFormat=application%2Fjson

For the WKT polygon I am a bit clueless. I tried:
* clip=<my-WKT-polygon>@mimeType=application/wkt

What am I missing here?
And what other parameters are required?

Thanks in advance
Max




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/WPS-Execute-GET-request-KVP-syntax-tp5265620.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users



--
Ian Turton
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to