Closed bartvde closed 10 years ago
@dwins am I doing something obvious wrong here with the request:
<p0:Execute xmlns:p0="http://www.opengis.net/wps/1.0.0" service="WPS" version="1.0.0"> <p1:Identifier xmlns:p1="http://www.opengis.net/ows/1.1">vec:RectangularClip</p1:Identifier> <p0:DataInputs> <p0:Input> <p1:Identifier xmlns:p1="http://www.opengis.net/ows/1.1">features</p1:Identifier> <p0:Reference p3:href="http://geoserver/wfs" xmlns:p3="http://www.w3.org/1999/xlink" method="POST" mimeType="text/xml"> <p0:Body><p2:GetFeature xmlns:p2="http://www.opengis.net/wfs" service="WFS" version="1.1.0" outputFormat="GML2"><p2:Query typeName="opengeo:streams" srsName="EPSG:3857"/></p2:GetFeature></p0:Body> </p0:Reference> </p0:Input> <p0:Input> <p1:Identifier xmlns:p1="http://www.opengis.net/ows/1.1">clip</p1:Identifier> <p0:Data> <p0:BoundingBoxData crs="EPSG:4326"> <p1:LowerCorner xmlns:p1="http://www.opengis.net/ows/1.1">-120.23437499999999 25.165173368663957</p1:LowerCorner> <p1:UpperCorner xmlns:p1="http://www.opengis.net/ows/1.1">-70.3125 54.1624339680678</p1:UpperCorner> </p0:BoundingBoxData> </p0:Data> </p0:Input> </p0:DataInputs> <p0:ResponseForm> <p0:RawDataOutput mimeType="text/xml; subtype=wfs-collection/1.1"> <p1:Identifier xmlns:p1="http://www.opengis.net/ows/1.1">result</p1:Identifier> </p0:RawDataOutput> </p0:ResponseForm> </p0:Execute>
I always get this response:
<?xml version="1.0" encoding="UTF-8"?><wfs:FeatureCollection xmlns:wfs="http://www.opengis.net/wfs" xmlns:feature="http://opengeo.org" xmlns:ogc="http://www.opengis.net/ogc" xmlns:ows="http://www.opengis.net/ows" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml"><gml:boundedBy><gml:Null>unknown</gml:Null></gml:boundedBy></wfs:FeatureCollection>
I also can't get a working request with GeoServer's WPS builder
cc @sbalasub
Seems that the clip rectangle and the input features must use the same projection. I'll look into fixing it.
@dwins am I doing something obvious wrong here with the request:
I always get this response:
I also can't get a working request with GeoServer's WPS builder
cc @sbalasub