geo-registry

turf.flatten

From @turf/flatten.

About this implementation
Engine Turf.js
Tool name turf.flatten
Interface js
Implements Not stated
Documentation Not stated
Effects Not stated
Notes From @turf/flatten.
Status active

Parameters

Name Type Required Default Choices Note
geojson Feature<T> | FeatureCollection<T> | T yes Not stated Not stated Not stated

SQL overloads

  • turf.flatten(geojson Feature<T> | FeatureCollection<T> | T) → FeatureCollection<Point>
  • turf.flatten(geojson Feature<T> | FeatureCollection<T> | T) → FeatureCollection<LineString>
  • turf.flatten(geojson Feature<T> | FeatureCollection<T> | T) → FeatureCollection<Polygon>
  • turf.flatten(geojson AllGeoJSON) → FeatureCollection<any>

Harvested by the turf harvester from engine version 7.4.0. Names can change when an engine is harvested again.