public PointFeature next() throws IOException { if (pointFeature == null) return null; calcBounds(pointFeature); return pointFeature; }
public boolean hasNext() throws IOException { pointFeature = nextFilteredDataPoint(); if (pointFeature != null) return true; PointFeatureCollection feature = nextCollection(); if (feature == null) { finish(); return false; } pfiter = feature.getPointFeatureIterator(-1); return hasNext(); }
@Override public boolean hasNext() { try { pointFeature = nextFilteredDataPoint(); if (pointFeature != null) return true; PointFeatureCollection feature = nextCollection(); if (feature == null) { close(); return false; } currCollection = feature; pfiter = feature.getPointFeatureIterator(); return hasNext(); } catch (IOException ioe) { throw new RuntimeException(ioe); } }
@Override public PointFeatureIterator getPointFeatureIterator(int bufferSize) throws IOException { // LOOK need the isMultipleNested case return new PointIteratorFlatten( from.getPointFeatureCollectionIterator(bufferSize), this.boundingBox, this.dateRange); } }
@Override public void close() { if (finished) return; if (pfiter != null) pfiter.close(); // collectionIter.close(); finishCalcBounds(); finished = true; }
public PointFeatureIterator getPointFeatureIterator(int bufferSize) throws IOException { // LOOK need the isMultipleNested case return new PointIteratorFlatten( from.getPointFeatureCollectionIterator(bufferSize), this.boundingBox, this.dateRange); } }
public void finish() { if (finished) return; if (pfiter != null) pfiter.finish(); collectionIter.finish(); finishCalcBounds(); finished = true; }
public boolean hasNext() throws IOException { pointFeature = nextFilteredDataPoint(); if (pointFeature != null) return true; PointFeatureCollection feature = nextCollection(); if (feature == null) { finish(); return false; } pfiter = feature.getPointFeatureIterator(-1); return hasNext(); }
@Override public PointFeatureIterator getPointFeatureIterator() throws IOException { return new PointIteratorFlatten( from.getCollectionIterator(), filter_bb, filter_date); } }
public PointFeature next() throws IOException { if (pointFeature == null) return null; calcBounds(pointFeature); return pointFeature; }
public void finish() { if (finished) return; if (pfiter != null) pfiter.finish(); collectionIter.finish(); finishCalcBounds(); finished = true; }
public PointFeatureIterator getPointFeatureIterator(int bufferSize) throws IOException { // LOOK need the isMultipleNested case return new PointIteratorFlatten(from.getPointFeatureCollectionIterator(bufferSize), this.boundingBox, this.dateRange); }
@Override public PointFeature next() { if (pointFeature == null) return null; calcBounds(pointFeature); return pointFeature; }
public PointFeatureIterator getPointFeatureIterator(int bufferSize) throws IOException { // LOOK need the isMultipleNested case return new PointIteratorFlatten(from.getPointFeatureCollectionIterator(bufferSize), this.boundingBox, this.dateRange); }
public PointFeatureIterator getPointFeatureIterator(int bufferSize) throws IOException { // LOOK need the isMultipleNested case return new PointIteratorFlatten(from.getPointFeatureCollectionIterator(bufferSize), this.boundingBox, this.dateRange); }
public PointFeatureIterator getPointFeatureIterator(int bufferSize) throws IOException { // LOOK need the isMultipleNested case return new PointIteratorFlatten(from.getPointFeatureCollectionIterator(bufferSize), this.boundingBox, this.dateRange); }
@Override @Nonnull public PointFeatureIterator getPointFeatureIterator() throws IOException { return new PointIteratorFlatten( from.getPointFeatureCollectionIterator(), null, this.getCalendarDateRange()); }