On Mon, May 28, 2012 at 11:54 AM, Per Reinholdt <[email protected]>wrote:
> Union with WPS
> Hi****
>
> I need to union the geometries from a WFS query and want to do it with a
> single
> request.
> I just started to learn the WPS on Geoserver but can´t find a good
> solution to solve it in one step.
>
> ****
>
> I understand that I get WFS response as a WFS collection. ** **
>
> The problem is that I can´t use a reference to the WFS as input in a JTS:
> Union process since the WFS-collection is not allowed.****
>
>
>
You have to bridge the feature collection world and the geometries world
using the collectGeometries process.
It can be done in a single call, just need to use chaining (you can use the
wps demo builder to setup a chained
request, have one of the parameters be of type "subprocess").
Mind though, the collectGeometries proces will have to load all the
geometries in memory, so don't use it
against a very large amount of geometries.
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
mob: +39 339 8844549
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
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users