Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Filtered layer

No, it shouldn't track the selection. The idea is that you can save the current selection as a new layer. This seems easy. So what would you need to create the new layer?

On 12/20/05, Jody Garnett <jgarnett@xxxxxxxxxxxxxxx> wrote:
jeichar@xxxxxxxxxxxxxxx wrote:
> The most obvious way to do this is to create a FilteringService and as children
> it would have FilteringGeoResources.  When a resolve( FeatureSource.class) method
> is called on the FilteringGeoResource it would return a FilteringFeatureSource.
>
It is easier then that DataStore.getView( Query ) should return you a
FeatureSource filtered according to the Query.
Did you want to have this new layer always track the selection of the
original layer?

Jody
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel


Back to the top