Search found 2 matches

by combleurdelacunes
Wed Oct 17, 2012 12:27 pm
Forum: iOS Deployment
Topic: Calculating distances...
Replies: 7
Views: 6196

Re: Calculating distances...

And just in case you want the liveCode script. Nothing special, but saves you coding it !! : put RFHaversine (LVRadLat1,LVRadLong1,LVRadLat2,LVRadLong2) into field Distance Function RFHaversine PVLat1,PVLong1,PVLat2,PVLong2 -- --global LVRadiusOfTheEarth,LVLat1,LVLong1,LVLat2,LVLong2,LVInt1,LVInt2,L...
by combleurdelacunes
Tue Oct 16, 2012 2:53 pm
Forum: iOS Deployment
Topic: Calculating distances...
Replies: 7
Views: 6196

Re: Calculating distances...

I don't know what values you have for your locations, but I have a formula.

There are limits : I need Longitude/Latitude OR Radian values
Calculations are good to a kilometre or so,
certainly not down to metres

Best Regards

-Francis