[udig-devel] filtering contents of rendered layers

Vince Darley vince.darley at eurobios.com
Mon Oct 29 10:29:54 PDT 2007


At 17:23 29/10/2007, Jesse Eichar wrote:
>I've just done some work on this very topic this weekend.  What can 
>be done is to create a view of the layer and render that. For RC12 
>you can put a Query or Filter on the Layer's blackboard with the 
>key: ProjectBlackboardConstants#LAYER__DATA_QUERY
>
>Doing that will restrict the features rendered by that layer to 
>those that satisfy the filter(or query).
>
>But if you can wait a day or two.  I'm making a new release with 
>fixes to uDig for support for views.

That all sounds very good.  We've got to get some results nicely 
printed out in the next day or two, unfortunately (big meeting on 
Thursday morning!), so we probably need to experiment with the 
Layer's blackboard as you write above.  (So any pointers to that 
would be appreciated).

If I understand you correctly, in a few days it will be relatively 
easy to programmatically create a view from a layer (subject to some 
filtering/query etc), and that that approach will be easier that the 
only thing we could do now which is to use the blackboard?

regards,

Vince.



More information about the udig-devel mailing list