Hi list,

I'm using geoserver 2.5.2. I try to get the center of the bounding box of a 
collection of features returned by a query on some attributes.

After a little bit of googling I discovered the WPS module. It looks like that 
is capable of doing the job, so I installed it in geoserver and started 
experimenting using the WPS request builder.

I had some mixed success with the following scenarios:
1/ I used the vec:Bounds process using a reference. The url I used as reference 
was a simple GetFeature GET-request using a CQL_FILTER parameter using 
application/json as output format. When I execute the process the result is 
returned within 200ms.
2/ I used the vec:Bounds process using a vec:Query subprocess. The subprocess 
defines the same query request using cql filter) as in the first scenario. When 
I execute this process, it takes 2-3 seconds to return the result.

Questions:
1/ Any reasons why the second scenario is so slow compared with the first one?
2/ If in the first scenario the first feature has a Point geometry, the 
resulting bounding box is different than when this feature was in second or 
third (last) place. The bounding box of the second scenario is equal to the 
bounding box returned by the first scenario when the first feature is no a 
Point geometry.
3/ Is it possible to get the center of this bounding box using another process?


Kind regards,
Roel De Nijs
[banner Chap-eau]<http://www.chap-eau.be>
________________________________

Volg Aquafin op Facebook<https://www.facebook.com/AquafinNV> | 
Twitter<https://twitter.com/aquafinnv> | 
YouTube<http://www.youtube.com/channel/UCk_4P5BJ-MtEEDCkCsR_KqQ?feature=mhee> | 
LinkedIN<http://www.linkedin.com/company/aquafin/products>

Disclaimer: zie www.aquafin.be<http://www.aquafin.be>   P Denk aan het milieu. 
Druk deze mail niet onnodig af.
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to