[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[udig-devel] Multiple selections
|
Hi list,
just wanted to ask if the inability to keep a selection in more than one layer
at a time is due to a design decission or something that can be discussed
about/easy to change.
So far, the logic avoiding more than one layer to have a selection at a time
seems to be in:
MapImpl.select( Envelope boundingBox, boolean and ){
Layer selected = ...
for (Layer layer : getLayersInternal()){
if(layer == selected){
.... //apply Filter
}else{
layer.setFilter(Filter.ALL);
}
}
}
note at line #2067 the statement layer.setFilter(Filter.ALL); is resetting the
selection for the rest of layers to none.
Now, say I want to create an Intersect operation which intersects the selected
features of a layer with the selected ones of another, not possible this way.
So the question is would it be possible to remove that filter cleaning code
and, if yes, what the side effects would be (if any)? or should I look for
another way for doing that.
Regards,
Gabriel
--
Gabriel Roldán (groldan@xxxxxxxx)
Axios Engineering (http://www.axios.es)
Tel. +34 944 41 63 84
Fax. +34 944 41 64 90