Getting started with geographical coordinates
Devin Asay
devin_asay at byu.edu
Fri Apr 3 16:28:29 EDT 2020
Graham,
You get back lat and long in degrees and fractions of degrees, as a decimal numeral. For instance, I get latitude: 40.248676 and longitude: -111.651062, and for good measure altitude in meters at 1398.380493. Wow, now you all know exactly where I am!
Devin
> On Apr 3, 2020, at 1:49 PM, Graham Samuel via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> This is cheeky but I can’t run up my mobile simulation today - can someone tell me the format of the geographical coordinates produced by mobileSensorReading et al. I mean, is say latitude just one integer showing seconds, or is it deg, min, sec - and are fractional seconds returned (so, floating point)? I shall find out for myself eventually but it would help a little to know now. AFAIKS there’s nothing in the LC documentation about it.
>
> Graham
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
Devin Asay
Director
Office of Digital Humanities
Brigham Young University
More information about the use-livecode
mailing list