mapbox / cheap-ruler

Fast approximations for common geodesic measurements 🌐
https://www.mapbox.com/blog/cheap-ruler/
ISC License
417 stars 32 forks source link

Buffering lineStrings and polygons #17

Closed liebrand closed 8 years ago

liebrand commented 8 years ago

Hi there,

Any plans to update this extremely useful ruler to also be able to buffer line strings and polygons? Or would the calculations required mean that it ultimately would be just as fast as turf (and thus you'd be better off using turf to start with)?

/Cheers, Jelte

mourner commented 8 years ago

No, buffering is unfortunately out of scope for this library because it's an extremely challenging algorithmic problem.