On Sun, Sep 11, 2011 at 6:15 PM, Roger Bedell <sylvanasc...@gmail.com> wrote: > In a very recent trunk, gs:Trim works fine using text as the Clipping Area > input, but I'd like to use a Shapefile for the Clipping Area Input. Any > ideas on how to set this up?
You are mixing data types there. The clipping area has to be a geometry, while a shapefile is a feature collection. If the shapefile does not contain too big geometries you can use the gs:collectGeometries process to turn the shapefile geometries into a single large multipolygon, and the use it in the clip process. You can do so by using process chaining, having the source of the clip geometry be a sub-process. The WPS request builder will help you create that call 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 ------------------------------------------------------- ------------------------------------------------------------------------------ Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users