toFeatureCollection

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.