explodePolygon

Given a Feature Collection that contains a Polygon it will return a Feature Collection that contains the "exploded" Polygon which are the individual segments of the Polygon as LineStrings.

Return

a Feature Collection containing the segments of the Polygon.

Parameters

featureCollection

A FeatureCollection containing the whole Polygon