Distance between two GPS coordinates

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
athooya
Posts: 11
Joined: 06 Oct 2016 13:30

Distance between two GPS coordinates

Post by athooya » 21 Oct 2018 14:48

I would like to request a function to calculate the DISTANCE between two GPS coordinates. I think it's a fundamental function that is needed.
One well-known method is the "Haversine" formula.

User avatar
digitalstone
Posts: 342
Joined: 21 Oct 2017 12:36
Location: The Netherlands

Re: Distance between two GPS coordinates

Post by digitalstone » 21 Oct 2018 16:15

I think the script-function you mean is "distance"?
Phone: LG Nexus 5X (rooted vanilla Android 7.1.2)

Locked