Turfjs / turf

A modular geospatial engine written in JavaScript and TypeScript
https://turfjs.org/
MIT License
9.22k stars 935 forks source link

Buffer #387

Closed flightsurvey closed 8 years ago

flightsurvey commented 8 years ago

I have implemented turf.buffer around a polygon with a distance of 50 metres and the polygon returned varies in size between 30 - 50 metres approx greater than the original.

buffer

morganherlocker commented 8 years ago

This is because buffer operations are non-geodesic. The current implementation is only capable of flat-plane buffers. It is a known limitation I would love to fix when I have the time, but it is a significant algorithmic lift.