Skip to content

Turf buffer buffer distance slightly off #801

Description

@mclaeysb

Buffering points creates circles with the required radius, but buffering polygons seems to create buffers with a wrong radius. Here's an example on a very small polygon, buffered with radius 1 miles:

screen shot 2017-06-18 at 18 45 16

Radius of @turf/buffer output is to small

screen shot 2017-06-18 at 18 45 12

Buffer with correct radius

Inner object made with @turf/buffer, outer object made with this old PR of turf-buffer (but same can be made using @turf/destination).

I used this data as input.

Not sure what this is due to..

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions