-
Notifications
You must be signed in to change notification settings - Fork 956
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Turf buffer buffer distance slightly off #801
Comments
Judging from the initial picture in #786, it seems like this might be related to that issue.. |
Definitely looks like there's a bug somewhere... looks like it might be the reprojection. |
I'm running into the same issue:
EDIT: Corrected variable reference for e2 from b to c -> circles appear good for vertical measurements but off for horizontal measurements per @stebogit comment |
@Shongololo it seems actually that Also, you might want to measure the vertical side of the envelop ( |
👍 |
How do you guys get this circle? Turf returns an oval when I use buffer. |
Which version of turf are you using? |
@DenisCarriere package.json version is 3.14.3 I'll try updating to the latest version |
Yep that will help, I think the buffet got fixed in 4.5 or so |
@DenisCarriere Yes, that solved it, thanks! |
Hi, where to get the latest version of turf? |
I get the oval buffer as well. |
This looks suspiciously like a duplicate of #1470. Closing given it's age and similarities. If still an issue on later versions of Turf please reopen. |
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:
Radius of @turf/buffer output is to small
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..
The text was updated successfully, but these errors were encountered: