Hi Andrea, Thanks for the clarification. The buffer example that you gave works as expected.
I was hoping to take a shortcut to queries like: give me all tasmanian roads that intersect with tasmanian water bodies. After reading your response, I tried it using a JTS:intersects process that consumes the output of the gt:CollectGeometries sub-processes for both the roads and water bodies. It turns out that JTS:intersects is not happy with GeometryCollections. I'll play a bit more your new WPS request builder to see if I can achieve the above within GS. Regards, Roald On 21/01/11 22:59, Andrea Aime wrote: > On Fri, Jan 21, 2011 at 6:24 AM, Roald de Wit <[email protected] > <mailto:[email protected]>> wrote: > > Hi, > > In a previous beta, the demo builder for the WPS module (great tool!) > allowed one to choose from a VECTOR_LAYER and RASTER_LAYER. The > current > RC1 version is lacking these. > > Were they left out intentionally? It seemed quite handy to be able to > point to a layer within this GS instance directly. > > > They are not left out. They are available provided the parameter accepts a > feature collection or a raster. > If the parameter only accepts a geometry they are correctly left out, as > a layer is not a geometry. > > Let me try to clarify this as it seems we're going in circles: > - geometry: point, line, polygon, whatever. Just geometry, no attributes > - feature: a set of attributes, one or more of them can be a geometry > (but there are also features without) > - vector layer: a list of features > > Some processes (all the JTS ones) can only work against a geometry. > Others only work with vector layers instead, and so on. > > At your peril you can turn a list of features into a single geometry > (that will be stored in memory) using the CollectGeometries process, > and then chain the result into a JTS process. > For example, if you want to buffer the geometries of topp:states > layer into a single buffer object you can, from the builder, > first select the JTS process, in the geometry call a subprocess > which will be collectgeometries against topp:states. > > Hope this helps > > Cheers > Andrea > > > Regards, > > Roald > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Geoserver-users mailing list > [email protected] > <mailto:[email protected]> > https://lists.sourceforge.net/lists/listinfo/geoserver-users > > > > > -- > Ing. Andrea Aime > Technical Lead > > GeoSolutions S.A.S. > Via Poggio alle Viti 1187 > 55054 Massarosa (LU) > Italy > > phone: +39 0584962313 > fax: +39 0584962313 > > http://www.geo-solutions.it > http://geo-solutions.blogspot.com/ > http://www.linkedin.com/in/andreaaime > http://twitter.com/geowolf > > ----------------------------------------------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
