SpatialIndexFeatureSource source = new SpatialIndexFeatureSource(indexed);
return source;
}
if (collection instanceof TreeSetFeatureCollection) {
TreeSetFeatureCollection tree = (TreeSetFeatureCollection) collection;
CollectionFeatureSource source = new CollectionFeatureSource(tree);
return source;
}
// if( collection instanceof SimpleFeatureCollection ){