Skip to content

How to get LineString from Polygon reducing the applied buffer value #39

Description

@anusreemn

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions