Skip to content
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.js for spatial calculations / helper functions? #3

Open
iainkirkpatrick opened this issue Feb 6, 2016 · 2 comments
Open

turf.js for spatial calculations / helper functions? #3

iainkirkpatrick opened this issue Feb 6, 2016 · 2 comments

Comments

@iainkirkpatrick
Copy link
Collaborator

hi folks!

not sure if issues is the best place for this but thought it might get lost as a comment on a closed pull req... was rudely nosing through commits on my github feed, and saw you have borrowed some unwieldy function to calculate distances from a point along the earth (in scripts/coords.js).

turf.js is an awesome modular JS library for doing that sort of stuff! in fact i think it has exactly the function you need :) and though turf is a collection of functions, you can install / require them all individually from npm, so it doesn't weigh down the code with unnecessary pieces!

i saw this one and thought of you too, might be helpful? dunno?

hope it's useful! 🐶

@don-smith
Copy link
Member

That's awesome Iain! Thank you very much! I know we're on a time crunch, but that function is just horrible.

And I would argue you were helpfully nosing through the commits 😄

Thanks again!

@fractalcactus
Copy link
Collaborator

^ what Don said
Awesome, thanks! Will implement that at the end of today if I get thinks rendering

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants