public class StandardTrajectoryCollectionImpl extends OneNestedPointCollectionImpl implements TrajectoryFeatureCollection
altUnits, collectionFeatureType, extras, name, npts, timeUnit| Modifier | Constructor and Description |
|---|---|
protected |
StandardTrajectoryCollectionImpl(java.lang.String name,
DateUnit timeUnit,
java.lang.String altUnits) |
| Modifier and Type | Method and Description |
|---|---|
PointFeatureCollectionIterator |
getPointFeatureCollectionIterator(int bufferSize)
Iterate through the collection, composed of PointFeatureCollection.
|
boolean |
hasNext()
Use the internal iterator to check if there is another TrajectoryFeature in the iteration.
|
TrajectoryFeature |
next()
Use the internal iterator to get the next TrajectoryFeature in the iteration.
|
void |
resetIteration()
Reset the internal iterator for another iteration over the TrajectoryFeatures in this Collection.
|
TrajectoryFeatureCollection |
subset(LatLonRect boundingBox)
Get a subsetted NestedPointFeatureCollection based on a LatLonRect
|
flatten, flatten, getAltUnits, getCollectionFeatureType, getExtraVariables, getName, getNestedPointFeatureCollectionIterator, getTimeUnit, isMultipleNested, setSize, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitflatten, flatten, getAltUnits, getExtraVariables, getNestedPointFeatureCollectionIterator, getTimeUnit, isMultipleNested, sizegetCollectionFeatureType, getNameprotected StandardTrajectoryCollectionImpl(java.lang.String name,
DateUnit timeUnit,
java.lang.String altUnits)
public PointFeatureCollectionIterator getPointFeatureCollectionIterator(int bufferSize) throws java.io.IOException
NestedPointFeatureCollectiongetPointFeatureCollectionIterator in interface NestedPointFeatureCollectionbufferSize - how many bytes can be used to buffer data, use -1 to use default.java.io.IOException - on read errorpublic boolean hasNext()
throws java.io.IOException
TrajectoryFeatureCollectionhasNext in interface TrajectoryFeatureCollectionjava.io.IOException - on read errorpublic TrajectoryFeatureCollection subset(LatLonRect boundingBox) throws java.io.IOException
NestedPointFeatureCollectionsubset in interface NestedPointFeatureCollectionboundingBox - spatial subsetjava.io.IOException - on i/o errorpublic TrajectoryFeature next() throws java.io.IOException
TrajectoryFeatureCollectionnext in interface TrajectoryFeatureCollectionjava.io.IOException - on read errorpublic void resetIteration()
throws java.io.IOException
TrajectoryFeatureCollectionresetIteration in interface TrajectoryFeatureCollectionjava.io.IOException - on read error