FeatureCollection
data class FeatureCollection<out G : Geometry?, out P> @JvmOverloads constructor(val features: List<Feature<G, P>> = emptyList(), val bbox: BoundingBox? = null) : Collection<Feature<G, P>> , GeoJsonObject(source)
A FeatureCollection object is a collection of Feature objects. This class implements the Collection interface and can be used as a collection directly. The list of Feature objects contained in this FeatureCollection is also accessible through the features property.
See RFC 7946 Section 3.3 for the full specification.
Constructors
Link copied to clipboard
Constructs a FeatureCollection from a vararg of Feature objects.
Types
Link copied to clipboard
object Companion
Factory methods for creating and serializing FeatureCollection objects.
Properties
Link copied to clipboard
An optional BoundingBox used to represent the limits of the object's Geometry.