Class FeatureStreams


  • public final class FeatureStreams
    extends Object
    Provides toStream transform methods for Feature Collection & Iterator
    Author:
    Fernando MiƱo, Geosolutions
    • Method Detail

      • toFeatureStream

        public static <T extends Feature,​K extends FeatureTypeStream<T> toFeatureStream​(FeatureCollection<K,​T> fc)
        Converts FeatureCollection to Stream of Features Use with try-with-resources clause for auto closing