Turfjs / turf

A modular geospatial engine written in JavaScript and TypeScript
https://turfjs.org/
MIT License
9.07k stars 930 forks source link

vincenti distance calculations #193

Open morganherlocker opened 9 years ago

morganherlocker commented 9 years ago

While it is a bit slower, it will still be crazy fast. Also it will be more accurate and allow for iterative calculations for linear referencing and routing stuff.

antoniolocandro commented 9 years ago

Maybe this document can help http://www.faa.gov/documentLibrary/media/Order/8260.54A.pdf algorithms and test cases at the end

Also as reference https://github.com/pkohut/GeoFormulas https://wired2code.wordpress.com/2010/07/14/wgs84-ellipsoid-calculations/ http://www.pkautomation.com/wgs84_geodesic_calc.html

jrzimmerman commented 9 years ago

I'm currently attempting a direct and inverse version on the vincenty formulas found here: https://github.com/jrzimmerman/turf-vincenty-direct https://github.com/jrzimmerman/turf-vincenty-inverse I'll take all the help I can get! :smile: Sorry for the rookie attempt at helping, in advance

tmcw commented 9 years ago

@jrzimmerman added you to the turfjs team so you can work directly in the turf org!