On Fri, Sep 27, 2013 at 8:56 PM, <[email protected]> wrote:
>
> Hi,
> I just begin using the geoserver wps and I'm quite surprise of the
> performance and implemented processes. Very good.
>
> I have a use case that works but would like to improve. I would like to
> use the equivalent of ST_DWITHIN in postgis, but on 2 WFS.
>
> I'm using 2 WFS having point features. I need to get the points of WFS1
> that falls within a 1km buffer on each points of WFS2. I made it using
> gs:InclusionFeatureCollection and a subprocess gs:BufferFeatureCollection
> It works but it takes 20 seconds. The same query directly in postgis takes
> also 20 seconds (st_within(geom1, st_buffer(geom2,1000))
>
> in postgis st_buffer should be avoid if there is other way, like
> st_dwithin(geom1, geom2, 1000) on the same data takes 1 seconds.
>
> Is there other processes I could use instead of those above?
No, you'll have to write your own, either using the Java API, or using
geoscript and
a scripting languages (for the java api, look at the existing processes in
geotools/geoserver,
they should serve as examples, for geoscript search the net, there are
small guides and
samples.).
Cheers
Andrea
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users