Ask / Submit

Mozilla location logic [answered]

asked 2016-10-10 22:02:30 +0300

Rikujolla gravatar image

updated 2016-10-10 22:10:45 +0300

When using Mozilla assisted location service from location settings, it produces weird phenomenom. When starting e.g. Maep or OSM Scout app and centering the map it jumps in Finland first to Helsinki and then to a tower location close to me in periferium. Is that normal logic also in other countries? When using Here assisted location, I have not noticed the same phenomenom but it finds at once some cell tower location close to my location. I suggest to change Mozilla logic to skip that location jump to Helsinki. It is enough to close e.g. the Maep app for couple of minutes to see the phenomenom.c

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by Rikujolla
close date 2016-10-12 06:51:32.222139


You will always have to use some sort of default location, especially if location-detection fails (New York or London-Greenwich are often used for this, well known points which allow for easy navigating). On subsequent starts of an app it may be a good idea to use the last location. Is it possible that Here is using generally the last location or is it just faster than Mozilla?

hoschi ( 2016-10-11 00:56:18 +0300 )edit

@chris.adams, Thanks for a very good comment. That propably explains that I could not reproduce the phenomenom this morning. Maybe I was using my WiFi for internet yesterday and mobile data today. I have to test further. I would propose to change your comment to an answer.

Rikujolla ( 2016-10-11 06:47:45 +0300 )edit

Thanks, converted to answer

chris.adams ( 2016-10-31 03:58:14 +0300 )edit

2 Answers

Sort by » oldest newest most voted

answered 2016-10-11 06:09:36 +0300

chris.adams gravatar image

There is no such logic hardcoded into the Mozilla assisted location service plugin (see for the code) on the Sailfish OS side, however when using the Mozilla Location Service (web-service) there is a fall-back mode which enables IP-based positioning, and thus if no cell tower ID location or known WLAN SSID location can be immediately calculated, it's possible that the Mozilla Location Service uses that fallback to provide a very-approximate-location.

We recently discussed the possibility of removing that fallback, however we decided that it might be useful in cases where the user has no SIM card inserted, but is using a public (but unknown to MLS) WiFi to access the Internet.

edit flag offensive delete publish link more

answered 2016-10-12 06:47:58 +0300

Rikujolla gravatar image

@chris.adams, that is an answer

edit flag offensive delete publish link more


Asked: 2016-10-10 22:02:30 +0300

Seen: 326 times

Last updated: Oct 12 '16