flatten library

Functions

flatten(GeoJSONObject geojson) FeatureCollection<GeometryObject>
Takes any GeoJSONObject and returns a FeatureCollection of simple features. The function flattens all Multi* geometries into single-geometry Features.