[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[udig-devel] Feature Caching
|
I'm trying to work through a problem I'm having with a custom
GeoResource and I could do with some pointers.
In our application, users can select global named "datasets" to work
with for their current session. Amongst a load of other things, this
includes data filtering. So, from my custom IGeoResource's
getFeatureSource() method, I'm returning a feature source with a filter
based on the global dataset rules. This is all working fine when you
first open a map or add this particular layer - it picks up the correct
results based on the current datasets. But, if the user changes their
dataset selection, no amount of map refreshing or opening and closing of
maps will draw the correct data *even though* the getFeatureSource()
method *is* returning a FeatureSource with the correct Query/Filter
(it's just an FID filter). The only way to see the refreshed data is to
shut down the application and re-open it.
I'm having trouble working out where things are being cached because
getFeatureSource() is getting called on every map refresh/pan/zoom so
something is obviously looking for fresh information.
Any ideas how I can get the map to refresh properly? I'm using 1.2M5 SDK
at the moment..
Many Thanks
Dave S-B
New album - "Dark" - out now! Check it out on www.myspace.com/davesbsounds