Forum Archive

GPS confusion

nuckler

I am trying to acquire gps location data using a script.

After doing some research and experimenting it appears that there are 2 ways to do this.

  1. Using IP address and which are linked to several back end databases to infer your address and hence infer your lat long

I am using the following url for this code
ip_request = requests.get('https://get.geojs.io/v1/ip.json')
This works as expected
2. Utilization of the gps chip in your mobile device to calculate it directly

And I am using the location module loaded into pythonista for (I believe) gps data for this

Does the location module directly provide gps data

And when I use the location module multiple times it gives me the exact same time stamp
And the lat long values never vary as I move around my building

And I am implementing start stop to attempt to refresh the data

cvp

@nuckler Don't forget that if you have a WiFi iPad (not cellular one and not an iPhone) there is no gps circuitry in it, thus what the device knows is an approximate location function of your WiFi router.

ccc

https://forum.omz-software.com/topic/620/location-timestamp-always-the-same