CollectionFeatureSource source = new CollectionFeatureSource(list);
return source;
}
if (collection instanceof SpatialIndexFeatureCollection) {
SpatialIndexFeatureCollection indexed = (SpatialIndexFeatureCollection) collection;
SpatialIndexFeatureSource source = new SpatialIndexFeatureSource(indexed);
return source;
}
if (collection instanceof TreeSetFeatureCollection) {