@Override @Nonnull public PointFeatureCollection subset(LatLonRect boundingBox, CalendarDateRange dateRange) throws IOException { if ((dateRange == null) && (boundingBox == null)) return this; else if (dateRange == null) return new PointCollectionSubset(this, boundingBox, null); else { CompositePointCollection dateSubset = new CompositePointCollection(name, getTimeUnit(), getAltUnits(), pointCollections.subset(dateRange)); return new PointCollectionSubset(dateSubset, boundingBox, dateRange); } }
public PointFeatureCollection subset(LatLonRect boundingBox, DateRange dateRange) throws IOException { return new PointCollectionSubset(this, boundingBox, CalendarDateRange.of(dateRange)); }
public PointFeatureCollection subset(LatLonRect boundingBox, CalendarDateRange dateRange) throws IOException { return new PointCollectionSubset(this, boundingBox, dateRange); }
public PointFeatureCollection subset(LatLonRect boundingBox, DateRange dateRange) throws IOException { return new PointCollectionSubset(this, boundingBox, CalendarDateRange.of(dateRange)); }
@Override public PointFeatureCollection subset(LatLonRect boundingBox, CalendarDateRange dateRange) throws IOException { return new PointCollectionSubset(this, boundingBox, dateRange); }
public PointFeatureCollection subset(LatLonRect boundingBox, CalendarDateRange dateRange) throws IOException { return new PointCollectionSubset(this, boundingBox, dateRange); }
@Override public PointFeatureCollection subset(LatLonRect boundingBox, CalendarDateRange dateRange) throws IOException { if ((dateRange == null) && (boundingBox == null)) return this; else if (dateRange == null) return new PointCollectionSubset(this, boundingBox, dateRange); else { CompositePointCollection dateSubset = new CompositePointCollection(name, pointCollections.subset(dateRange)); return new PointCollectionSubset(dateSubset, boundingBox, dateRange); } }
@Override public PointFeatureCollection subset(LatLonRect boundingBox, CalendarDateRange dateRange) throws IOException { if ((dateRange == null) && (boundingBox == null)) return this; else if (dateRange == null) return new PointCollectionSubset(this, boundingBox, null); else { CompositePointCollection dateSubset = new CompositePointCollection(name, getTimeUnit(), getAltUnits(), pointCollections.subset(dateRange)); return new PointCollectionSubset(dateSubset, boundingBox, dateRange); } }