Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
GPS confusion
-
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.
- 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 directlyAnd 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 buildingAnd I am implementing start stop to attempt to refresh the data
-
@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.
-