Re: [Geoserver-users] Geoserver 2.2 Insertection with buffer

2012-10-18 Thread Martin Davis
On Thu, Oct 18, 2012 at 9:53 AM, apmartins wrote: > > I've tested with wfs intersects and the response is almost instant. > However it doesn't have the result that I want which is the percentages of > each area intersected by the buffer. > > is there a way to do this without "damaging" the perform

Re: [Geoserver-users] Geoserver 2.2 Insertection with buffer

2012-10-18 Thread apmartins
Martin you're great. thanks a lot :D That was it. I was doing the math wrong. But in terms of performance it takes almost a minute :/ I've tested with wfs intersects and the response is almost instant. However it doesn't have the result that I want which is the percentages of each area intersected

Re: [Geoserver-users] Geoserver 2.2 Insertection with buffer

2012-10-17 Thread Martin Davis
On Wed, Oct 17, 2012 at 2:14 AM, apmartins wrote: > > Another question: can I know how much percentage of the area is being > intersected by the buffer? Is there a direct way? I use te > percentagesEnabled and te areasEnabled of the > gs:IntersectionFeatureCollection but I don't think that's what

Re: [Geoserver-users] Geoserver 2.2 Insertection with buffer

2012-10-17 Thread apmartins
Thanks a lot Martin. It was exactly that. I was missing the gs:Feature :) I talked about performance because I was doing "simple" test operations like reprojectGeometry and took a lot of time. Another question: can I know how much percentage of the area is being intersected by the buffer? Is ther

Re: [Geoserver-users] Geoserver 2.2 Insertection with buffer

2012-10-16 Thread Martin Davis
It sounds like the buffer polygon is a constant data value, which you have in WKT? If so, try using gs:Feature to convert the WKT to a Feature, and then use that as one of the inputs to gs:IntersectionFeatureCollection (ie by chaining). FWIW example WPS XML is given below. As for performance, th