turf-buffer icon indicating copy to clipboard operation
turf-buffer copied to clipboard

[not ready] artisinal

Open morganherlocker opened this issue 10 years ago • 8 comments

hand-made artisinal buffers -- no jsts required

morganherlocker avatar Dec 05 '14 19:12 morganherlocker

Man, this one is a pain.

wboykinm avatar Jun 10 '15 02:06 wboykinm

@wboykinm yeah, really want to knock this one out, but only so many hours in a day, and algorithms are hard. :/

morganherlocker avatar Jun 10 '15 15:06 morganherlocker

I'm really really looking for this to be merged!

arkhemlol avatar Sep 19 '15 13:09 arkhemlol

@morganherlocker Any luck on this PR? I know you're a busy man, but this is going to solve a lot of the turf.buffer issues.

DenisCarriere avatar Feb 28 '16 00:02 DenisCarriere

Current implementation is now broken :(

jdesboeufs avatar Apr 08 '16 06:04 jdesboeufs

Current implementation is now broken :(

@jdesboeufs say more? Broken how?

morganherlocker avatar Apr 08 '16 17:04 morganherlocker

Not really broken if installed standalone, but it can't be installed with other modern turf-* modules without many version conflicts. I can try to update the dependencies and the code, but I don't know if this branch has a future.

I looked at terraformer.Tools.createCircle but when I ask a 500-meters radius circle, I get a 300-meters one. And moreover this part of the lib will probably become unmaintained. Finally I ended up with an atomic call to PostGIS ST_Buffer, as I'm on the server side. I hope that one day, a native JS solution will land :)

jdesboeufs avatar Apr 08 '16 18:04 jdesboeufs

Hi there! I gave it a try, see #33

mclaeysb avatar Jun 12 '16 18:06 mclaeysb