@Override public PointFeature next() { return pfIter.next(); }
@Override public PointFeature next() throws IOException { return localIterator.next(); }
public PointFeature next() throws IOException { npts++; return pfIter.next(); }
public PointFeature next() throws IOException { npts++; return pfIter.next(); }
public PointFeature next() throws IOException { return pfIter.next(); }
public PointFeature next() throws IOException { return pfIter.next(); }
public PointFeature next() throws IOException { return localIterator.next(); }
public PointFeature next() throws IOException { return pfIter.next(); }
@Override public PointFeature next() { PointFeature pf = pfIter.next(); calcBounds(pf); return pf; }
@Override public PointFeature next() { if (pfIter == null) { // Could be null if hasNext() == false or wasn't called at all. return null; } else { PointFeature pointFeat = pfIter.next(); calcBounds(pointFeat); return pointFeat; } }
@Override public PointFeature next() { PointFeature pf = pfIter.next(); calcBounds(pf); return pf; }
private PointFeature nextFilteredDataPoint() throws IOException { if (pfiter == null) return null; if (!pfiter.hasNext()) return null; PointFeature pdata = pfiter.next(); if (filter == null) return pdata; while (!filter.filter(pdata)) { if (!pfiter.hasNext()) return null; pdata = pfiter.next(); } return pdata; }
private PointFeature nextFilteredDataPoint() throws IOException { if (pfiter == null) return null; if (!pfiter.hasNext()) return null; PointFeature pdata = pfiter.next(); if (filter == null) return pdata; while (!filter.filter(pdata)) { if (!pfiter.hasNext()) return null; pdata = pfiter.next(); } return pdata; }
private PointFeature nextFilteredDataPoint() throws IOException { if (pfiter == null) return null; if (!pfiter.hasNext()) return null; PointFeature pdata = pfiter.next(); if (filter == null) return pdata; while (!filter.filter(pdata)) { if (!pfiter.hasNext()) return null; pdata = pfiter.next(); } return pdata; }
public void addAll(FeatureDatasetPoint fdPoint) throws IOException { try (PointFeatureIterator pointFeatIter = new FlattenedDatasetPointCollection(fdPoint).getPointFeatureIterator()) { while (pointFeatIter.hasNext()) { StationPointFeature pointFeat = (StationPointFeature) pointFeatIter.next(); add(pointFeat); } } }
public void calcBounds() throws java.io.IOException { if ((dateRange != null) && (boundingBox != null) && (size() > 0)) return; PointFeatureIterator iter = getPointFeatureIterator(-1); iter.setCalculateBounds(this); try { while (iter.hasNext()) iter.next(); } finally { iter.finish(); } }
public void calcBounds() throws java.io.IOException { if ((dateRange != null) && (boundingBox != null) && (size() > 0)) return; PointFeatureIterator iter = getPointFeatureIterator(-1); iter.setCalculateBounds(this); try { while (iter.hasNext()) iter.next(); } finally { iter.finish(); } }
public static void writeFeatureCollection(PointFeatureCollection pointFeatColl) throws IOException { PointFeatureIterator iter = pointFeatColl.getPointFeatureIterator(); while (iter.hasNext()) { PointFeature pointFeat = iter.next(); StructureData data = pointFeat.getFeatureData(); for (StructureMembers.Member member : data.getStructureMembers().getMembers()) { System.out.println(member.getName() + "\t\t" + data.getArray(member)); } System.out.println(); } }