You will need to perform the query against all the layers; in one go; and then
sift through the results only updating the selection on the "first" layer to
get a result back.
So you are making a new selection tool to behave in exactly the way you
describe :-)
If you update a geometry; using featureStore.modifyFeatures( filter,
"the_geom", point ) - you can udpate the bounds of a feature.
--
Jody Garnett
On Monday, 14 February 2011 at 12:18 PM, mounir younes wrote:
> Hello everyone, I have a question concerning a map with several layers where
> I need to apply the selection example in the geotools tutorial. What should I
> do?
>
> I am actually thinking of layers with priorities (and no multiple selections)
> so if let's say layer 1 is more important than layer 2, if a user clicks in
> the map pane and 1 feature from layer 1 "would" be selected and another from
> layer 2 "would" be selected only layer 1's feature is selected.
>
> I also have another question. How to make a certain feature change it's
> geometry bounds. For example let's say I have a Point that when I press a
> certain button should move to another location (simulating a man walking or
> something like that)
>
> Thank you in advance.
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users