Feature Conversion

explode

turf.explode(features: GeoJson) → turf.helpers._features.FeatureCollection[source]

Takes a feature or set of features and returns all positions as {Point|points}.

Parameters

features – any GeoJSON feature or feature collection

Returns

{FeatureCollection} points representing the exploded input features