Hi,
If you get an answer to this I would like to know about it as well. Currently, I do a filtered WFS request then I scan the geometry of all the polygons returned to the application and calculate a BBox for each; then I add to bounds and I end up with a BBox that includes my whole collection of filtered polygons. This process can be slow given the number of polygons and their size. To mitigate this I have preprocessed the polygons and added a BBox attribute on each polygon record inside the DB which means I can avoid the geometry parsing but I do not think I can avoid the WFS download which is now my bottleneck. Anyway, not sure if this helps you? Brad.. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of bmcbride Sent: Tuesday, November 25, 2008 1:41 AM To: [email protected] Subject: [OpenLayers-Users] Zoom to Filter Extent Hello, I am working on an OpenLayers / GeoServer project and am trying to utilize the Filter tool, which is built into the GeoServer 1.7.0 OpenLayers preview template. I would like to be able to zoom to the extent of the filtered features- so the user can basically enter a search, which performs a filter and zooms to the results. Is there any way to grab the extent of the current filter and perform some kind of ZoomtoFilterExtent call? My question is very similar to this post: http://www.nabble.com/searching-a-feature-with-open-layers-td13724745.html#a 13761443 Thanks! _____ View this message in context: Zoom <http://www.nabble.com/Zoom-to-Filter-Extent-tp20662111p20662111.html> to Filter Extent Sent from the OpenLayers <http://www.nabble.com/OpenLayers-Users-f15907.html> Users mailing list archive at Nabble.com.
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
