Hello! I'm a software developer and I'm working with uDig (v. 1.1 RC4).
I'm trying to show a layer feature selection from a filter using the
SelectCommand class.
But I have a problem! The layer feature selection doesn't appear. I
have had to create a
new filter using FIDFilter because the command fails using a
CompareFilter instance.
The code to get the feature selection is as shown:
//The SelectCommand class use the setFilter method of
the Layer interface
command =
SelectionCommandFactory.getInstance().createSelectCommand(layer,
filters);
context.sendSyncCommand(command);
What's the problem?
Thank you.
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel