Class PointCollectionStreamAbstract

    • Constructor Detail

      • PointCollectionStreamAbstract

        public PointCollectionStreamAbstract​(String name,
                                             CalendarDateUnit timeUnit,
                                             String altUnits)
        Creates a feature collection with the specified name, time unit, and altitude unit.
        Parameters:
        name - the name of this feature collection. May be null.
        timeUnit - the time unit. May not be null.
        altUnits - the UDUNITS altitude unit string. May be null.
    • Method Detail

      • getInputStream

        public abstract InputStream getInputStream()
                                            throws IOException
        Returns the input stream from which to read point data.
        Returns:
        the input stream from which to read point data.
        Throws:
        IOException - if an I/O error occurs.
      • getPointFeatureIterator

        public PointFeatureIterator getPointFeatureIterator()
                                                     throws IOException
        Description copied from interface: PointFeatureCollection
        Get an iterator over the PointFeatures of this collection. call PointFeatureIterator.finish() when done
        Returns:
        iterator over the PointFeatures of this collection
        Throws:
        IOException - on read error