turf-buffer
turf-buffer copied to clipboard
How to get LineString from Polygon reducing the applied buffer value
Hi,
I created a buffered polygon for a LineString segment using:
// featureGeoJson below is a LineString feature drawn on the map
const bufferedPolygon = turf.buffer(featureGeoJson, bufferVal, 'kilometers')
Is there any way I can process back LineString from the now available bufferedPolygon and bufferVal?
Note: featureGeoJson is not saved anywhere in our app now.