I would like to clip out (cookie cutter) features based on a polygon. I recall being able to do this in PostGIS, but not sure it can be done in WFS in GeoServer?
For example, I tried this:
<wfs:GetFeature service="WFS" version="1.1.0" outputFormat="OGR-SHP-ZIP"
<wfs:Query typeName="ogi:streams" srsName="urn:x-ogc:def:crs:EPSG:4326">
35.50006091966824 -97.37531323186303 35.37506446382955
-97.37531129982791 35.375057994022875 -97.50031488896217
But it returns just the stream features that are wholly within the polygon. I'd rather get all the streams that intersect the polygon, then clips them at the border of the polygon. Is this even possible?
Thanks for any insight,
+34 626 855 662
From: Andrea Aime <aaime@op...> - 2009-06-30 11:33:16
Roger Bedell ha scritto:
> I would like to clip out (cookie cutter) features based on a polygon. I
> recall being able to do this in PostGIS, but not sure it can be done in
> WFS in GeoServer?
WFS is a data extraction tool, not an analysis one. It cannot alter
attributes, just filter them.
What you want is WPS, which is in the works on trunk, but very much in
the spare time, so I have no release date for you
OpenGeo - http://opengeo.org
Expert service straight from the developers.