[udig-devel] filtering contents of rendered layers

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


As a follow up to the printing queries of the last couple of weeks, 
that is mostly working now (ApplicationGIS.drawMap was great, 
together with the image export plugins), and that is what we are 
using in BIRT reporting now.

There's one last piece remaining: we'd like the BIRT report designer 
to allow filtering of what is rendered on the map.  This means to be 
more precise:

1) We have a layer on the map with 50000 locations, say.  (taken from 
a Postgres table)

2) All those locations have additional attributes (some 
system-defined such as 'Day', 'Driver ID', etc, and potentially 
unlimited other user-defined ones).

3) We only want to render those locations which match certain 
user-defined criteria (for example just 'Day=1', or 'Day=1 and Driver 
ID=Team 1', or...).  How can we programmatically apply such a filter 
to the layer during rendering (during the process that goes on in 
ApplicationGIS.drawMap, for example).

thanks for any suggestions,

Vince.



More information about the udig-devel mailing list