toFeatureCollection
fun <T : Geometry, P : @Serializable Any> GeometryCollection<T>.toFeatureCollection(block: FeatureBuilder<T, P?>.() -> Unit = {}): FeatureCollection<T, P?>(source)
Converts a GeometryCollection to a FeatureCollection by wrapping each geometry in a feature.
Return
A FeatureCollection containing features for each geometry.
Parameters
block
Optional configuration block applied to each created feature.