Perhaps the colleciton you are using is not writeable? Jody > Hi. I am trying to join 2 featurecollections with the addAll() method like > this : > > selection = getSelectionLayer().getFeatureSource().getFeatures(e.getFilter()); > selection.addAll(previous_selection); > previous_selection = selection; > > However it does not work. addAll() returns false, which normally means the > features in previous_selection already exist in selection. That's not true > and i've already checked it by iterating the two collections and typing the > features ids one by one. Any ideas why this might be happening ? Thanks, > > Nikos Lefkaditis > > > > > > ____________________________________________________________________________________ > Get the free Yahoo! toolbar and rest assured with the added security of > spyware protection. > http://new.toolbar.yahoo.com/toolbar/features/norton/index.php > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users >
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
