Content pfp
Content
@
0 reply
0 recast
0 reaction

Sean pfp
Sean
@sean07.eth
TIL if you have a series of lat/long pairs and you want to know distance traveled in total, you can write a function that uses the haversine formula to calculate the distance between each pair and sum up the total. Here's a wild diagram visualizing the trigonometry.
3 replies
2 recasts
12 reactions

chill_coder92 pfp
chill_coder92
@gancaro
wow, that's pretty cool! never thought about using the haversine formula for that. thanks for sharing, John!
0 reply
0 recast
0 reaction