[udig-devel] getBounds of selection/filter

Vince Darley vince.darley at eurobios.com
Wed Mar 26 06:34:13 PDT 2008


If I have a layer, how can I programmatically get the bounds of a 
filtered view (and/or the selection) of that layer?  My filter works 
well with rendering of the layer, but doesn't impact 
'getBounds'.  I've tried stuff like:

layer.getStyleBlackboard().put(ShowViewInterceptor.KEY, filter)

and/or wrapping the layer in a 'SelectionLayer', but getBounds always 
returns the full, unfiltered bounds...

Thanks for any help!

Vince.



More information about the udig-devel mailing list