explodeLineString

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

Return

a Feature Collection containing the segments of the LineString.

Parameters

featureCollection

A FeatureCollection containing the whole LineString