Ask / Submit
2

Is last location cached somewhere? [answered]

asked 2018-06-16 20:15:23 +0200

addydon gravatar image

updated 2018-06-16 20:20:59 +0200

Today, I installed WhoGo Maps and OSM Scout Server as a offline navigation solution. When I launched WhoGo Maps, it showed me a blue dot indicating my exact current location. I was surprised, as both the Internet and GPS were disabled. Now, I rarely use GPS (don't need it) so phone should not have much track of my locations, but the location in question is my home. To me it looks like on some day I might have turned on GPS while at home and that location has stuck with my phone.

So, is my assumption correct that location is stored somewhere on the phone or WhoGo Maps is playing some smart trick to obtain my current location?

Thanks!

Note: I am not pointing at developers. I appreciate their work, it's just a neutral question.

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by molan
close date 2018-06-18 11:08:56.896547

Comments

cell-tower based location, maybe?

juiceme ( 2018-06-16 23:10:05 +0200 )edit

Oh, I didn't think about that. But the location is very accurate. It points at the part of house I'm mostly in.

addydon ( 2018-06-17 01:28:55 +0200 )edit

Isn't this just the position source that isn't emptied on destruction of the app. Which is logical because it gives at start up a relevant location... You could try GPS info app to see what is the situation (is it still available?) And of course you could test it by going to another location and turn GPS of, go home and turn GPS on and see what happens...

rgrnetalk ( 2018-06-17 08:52:45 +0200 )edit

think rgnretalk is right, when i start here it shortly shows the position where i.did stop it just to return back to berlin before it gets the real gps fix

pawel ( 2018-06-17 09:07:56 +0200 )edit
4

Reply to your question: yes, it is cached somewhere. WhoGo maps pulls location via qt location service. Where that service gets the data from and how it's cached, would depend on your settings and OS (and or qt) internals, which I don't know.

rinigus ( 2018-06-17 11:21:05 +0200 )edit

1 Answer

Sort by » oldest newest most voted
10

answered 2018-06-18 00:55:58 +0200

luen gravatar image

The last position is cached in the file /home/nemo/.local/share/qtposition-geoclue by the GeoClue plugin in Qt Location (also in upstream).

edit flag offensive delete publish link more

Question tools

Follow
5 followers

Stats

Asked: 2018-06-16 20:15:23 +0200

Seen: 390 times

Last updated: Jun 18