geo-registry

turf.polygonToLine

How Turf.js runs Polygons To Lines: turf.polygonToLine.

About this implementation
Engine Turf.js
Tool name turf.polygonToLine
Interface js
Implements Polygons To Lines
Documentation Not stated
Effects modifies input: no, network: no
Notes From @turf/polygon-to-line.
Status active

Parameters

Name Type Required Default Choices Note
poly Feature<G, P> | G yes Not stated Not stated Not stated
options { properties?: any; } no Not stated Not stated Not stated
options.properties any no Not stated Not stated field of options

How it maps to the operation

Operation parameter Parameter here Note
layer poly Not stated

Differences from the operation

  • One polygon (a Feature or geometry) per call, not a FeatureCollection.
  • Turf works on GeoJSON in longitude/latitude (WGS 84); data in another CRS must be reprojected first.

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