You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everybody,
I wish to know how i can resolve my problem :
when the buffer zone touches itself, it makes only one area instead of making a "hole" in the middle. Even if the zone is not close. Do you have a solution for it to overlap and it does not merge?
Short answer is there is probably no a answer at the moment.
Unfortunately the buffer module currently uses the jsts library under the hood so we had limited ability to apply fixes for bugs like these. We're currently attempting to remove that dependency but as Im sure you can see it's quite complicated so it's still a little way off sorry :(
@ArtCodeKarine have you tried with @turf/transform-scale? It might work for you, just know you'll have to calculate your factor and define the origin (see #849).
Activity
rowanwins commentedon Aug 24, 2017
Hi @ArtCodeKarine
Short answer is there is probably no a answer at the moment.
Unfortunately the buffer module currently uses the
jstslibrary under the hood so we had limited ability to apply fixes for bugs like these. We're currently attempting to remove that dependency but as Im sure you can see it's quite complicated so it's still a little way off sorry :(ArtCodeKarine commentedon Aug 24, 2017
@rowanwins Thank's for your answer :D
stebogit commentedon Aug 25, 2017
@ArtCodeKarine have you tried with
@turf/transform-scale? It might work for you, just know you'll have to calculate yourfactorand define theorigin(see #849).DenisCarriere commentedon Aug 29, 2017
Thanks for reporting this @ArtCodeKarine , never knew about this strange behavior, this is definitely a bug in
jstswhich we can't control 😢.adds test issue #916
stebogit commentedon Sep 12, 2017
Fixed with #938