//nothing to get
return new EmptyFeatureCollection(this.getSchema());
}else if (envFilter.equals(Filter.INCLUDE)){
//lets create a new bbox filter out of the bounds
envFilter = createFilterFromBounds();
return new GridCachingFeatureCollection((BBOX)envFilter, query, this, this.fs, true);
}else if (envFilter instanceof BBOX){
return new GridCachingFeatureCollection((BBOX)envFilter, query, this, this.fs, true);
}else{
throw new UnsupportedOperationException("Invalid filter created.");
}
}