Hi all! As I'm currently working with WPS, I'd like to know if it's possible to nest a WPS request inside a WFS GetFeature.
For instance, I want to collect the geometries of the layer SECTION that are not disjoint with a user defined geometry, I send this: <?xml version="1.0" encoding="UTF-8"?> <wps:Execute version="1.0.0" service="WPS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.opengis.net/wps/1.0.0" xmlns:wfs="http://www.opengis.net/wfs" xmlns:wps="http://www.opengis.net/wps/1.0.0" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:wcs="http://www.opengis.net/wcs/1.1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd"> <ows:Identifier>gs:CollectGeometries</ows:Identifier> <wps:DataInputs> <wps:Input> <ows:Identifier>features</ows:Identifier> <wps:Reference mimeType="text/xml; subtype=wfs-collection/1.0" xlink:href="http://geoserver/wfs" method="POST"> <wps:Body> <wfs:GetFeature service="WFS" version="1.0.0" outputFormat="GML2"> <wfs:Query typeName="SECTION"> <ogc:Filter> <ogc:Not> <ogc:Disjoint> <ogc:PropertyName>the_geom</ogc:PropertyName> <gml:MultiPolygon xmlns:sch="http://www.ascc.net/xml/schematron" xmlns:gml="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink"><gml:polygonMember><gml:Polygon><gml:exterior><gml:LinearRing><gml:posList>449798.9199976616 6753837.949997303 449852.1799976621 6753837.029997302 449852.28999766207 6753827.339997302 449797.21999766154 6753827.669997303 449797.33999766153 6753837.979997302 449798.9199976616 6753837.949997303</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></gml:polygonMember></gml:MultiPolygon> </ogc:Disjoint> </ogc:Not> </ogc:Filter> </wfs:Query> </wfs:GetFeature> </wps:Body> </wps:Reference> </wps:Input> </wps:DataInputs> <wps:ResponseForm> <wps:RawDataOutput mimeType="text/xml; subtype=gml/3.1.1"> <ows:Identifier>result</ows:Identifier> </wps:RawDataOutput> </wps:ResponseForm> </wps:Execute> Now if I don't have the user defined geometry (here gml:MultiPolygon), is it to possible to replace it with a WPS or WFS query? My process (as I'd like it to work) is as follow: * ask user the ID of a feature in PARCELLE layer * get geometry of the specified PARCELLE feature * get geometries of features in layer SECTION that are not disjoint with the PARCELLE feature Thanks LH ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
