Wrong location / place by GPS - Location Services - GNSS - Maps
#1
Hi guys,

I am not really sure whether this is a hardware or software issue:

Gnome-Maps (or Open Street Maps in the Browser) never gets the location right.

When I am at home, Maps shows some address in Frankfurt, Germany (200 km off); when I go out, the marker never moves on the map but only jumps to slightly closer places once in a while: to the middle of the Rhine (10 kms off), some address in Bonn (5 km off) or some adress in Cologne (35 kms off).

No matter where exactly I am, it is always that particular park in Cologne, that particular spot in the Rhine and so on.

Is there anything I can do?

Best, Anna
  Reply
#2
Hello Anna,

I've the same problem, roughly 100 km between my real position and what is shown by Maps. I've already seen only few hundreds meters between both, but it was very, very rare.
  Reply
#3
(03-09-2021, 04:42 AM)Anna Wrote: Hi guys,

I am not really sure whether this is a hardware or software issue:

Gnome-Maps (or Open Street Maps in the Browser) never gets the location right.

When I am at home, Maps shows some address in Frankfurt, Germany (200 km off); when I go out, the marker never moves on the map but only jumps to slightly closer places once in a while: to the middle of the Rhine (10 kms off), some address in Bonn (5 km off) or some adress in Cologne (35 kms off).

No matter where exactly I am, it is always that particular park in Cologne, that particular spot in the Rhine and so on.

Is there anything I can do?

Best, Anna

Hi Anna,

I never tried yet the GPS on my Pinephone, I will do it to see how it behaves. But I think GPS implementation is right now very limited because it's cannot use A-GPS if I remember correctly. So it means a very long time until you get your position the first time. But still I am a bit surprised that the location which you get is so bad. May be your location doesn't see enough satellites to get a precise position.

So I vote for a software/firmware issue. No idea if someone is working on that at the moment.

Hope it helps...
  Reply
#4
Try following the instructions given here https://wiki.archlinux.org/index.php/GPS for utilizing the GPS. It took a few minutes to lock on to my location, and  I had to stand in the middle of my driveway to do it, but it did work. It appeared to be accurate to with 30 feet or so.
  Reply
#5
(03-09-2021, 01:09 PM)JimSmith80 Wrote: Try following the instructions given here https://wiki.archlinux.org/index.php/GPS for utilizing the GPS. It took a few minutes to lock on to my location, and  I had to stand in the middle of my driveway to do it, but it did work. It appeared to be accurate to with 30 feet or so.

Do you mean trying these commands?

Code:
mmcli -m 0 --location-status
mmcli -m 0 --location-enable-gps-raw --location-enable-gps-nmea
watch mmcli -m 0 --location-get

All of them result in

Code:
error: couldn't find modem

Yeah, @vongillus , it is quite strange indeed that the positions are, on a global scale, sort of close and yet completely off the mark. I cannot imagine that satellite coverage is the problem since this is a relatively densely populated area (and, perhaps more importantly, one with sufficient purchasing power), where I never experienced any problems locating my whereabouts with Symbian, Android, IOS or TomTom.
  Reply
#6
Anna, it looks like you are probably not imputing the correct modem number. Try running mmcli -L first. The output of that will give you the correct modem number. Running just mow on my phone mmcli -L output : /org/freedesktop/ModemManager1/Modem/1 [QUALCOMM INCORPORATED] QUECTEL Mobile Broadband Module. So I would run the following:

Code:
mmcli -m 1 --location-enable-gps-raw --location-enable-gps-nmea

watch mmcli -m 1 --location-get

The modem number can change anytime any time the system goes to sleep or is rebooted. Hope that helps.
  Reply
#7
There is a long/older thread on GPS here, that I tried to follow but never had enough interest to work out what the conclusion was or actual capabilities are.
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC
  Reply
#8
(03-09-2021, 08:31 PM)JimSmith80 Wrote: Anna, it looks like you are probably not imputing the correct modem number. Try running mmcli -L first. The output of that will give you the correct modem number. Running just mow on my phone mmcli -L output : /org/freedesktop/ModemManager1/Modem/1 [QUALCOMM INCORPORATED] QUECTEL Mobile Broadband Module. So I would run the following:

Code:
mmcli -m 1 --location-enable-gps-raw --location-enable-gps-nmea

watch mmcli -m 1 --location-get

The modem number can change anytime any time the system goes to sleep or is rebooted. Hope that helps.

You can also be independent of modem number by using any :

mmcli -m any --location-enable-gps-raw --location-enable-gps-nmea
  Reply
#9
(03-09-2021, 08:31 PM)JimSmith80 Wrote: Anna, it looks like you are probably not imputing the correct modem number.

Thank you! That seems to have been the problem indeed. The modem number seems to change every time the screen lock takes over and afterwards the location gathering is back to where it was before. So I guess I should follow your advice, @fdlamotte.

Anyway, the
Code:
mmcli -m 0 --location-enable-gps-raw --location-enable-gps-nmea
command did change the results of

Code:
mmcli -m 7 --location-status
from
Code:
------------------------
  Location | capabilities: 3gpp-lac-ci, gps-raw, gps-nmea, agps-msa, agps-msb
          |      enabled: 3gpp-lac-ci
          |      signals: no
  ------------------------
  GPS      | refresh rate: 3600 seconds
to
Quote:
Code:
------------------------
  Location | capabilities: 3gpp-lac-ci, gps-raw, gps-nmea, agps-msa, agps-msb
          |      enabled: 3gpp-lac-ci, gps-raw, gps-nmea
          |      signals: yes
  ------------------------
  GPS      | refresh rate: 0 seconds
Also
Code:
watch mmcli -m 1 --location-get
now yields some alien language I assume to be GPS coordinates.

The behaviour of maps, however, is still as described above: The location is very much off the mark.

Thanks for the link, @dukla2000. I had not found the thread (since search terms for some reason have to have to be at least four-letter-words and "GPS" is not.); reading it will be the next thing I do. (I hope the conclusion won't be that it simply does not work.)
  Reply
#10
hello there,

in my case, it took very long to get a primary accurate location using gps - ten minutes with a non-locked phone - but it worked very well. so well indeed, that i could use my phone to navigate while driving then.

but as dukla2000 said, there is a whole thread about this. and there you may find the hint, that the inaccurate location is probably due to gsm location services, not gps.

cheers
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  PureMaps and OSM Scout Server maps download biketool 6 2,407 01-08-2024, 04:11 AM
Last Post: vusra
  [GPS] PureMaps with OsmScoutServer, Localization precision and Maps freelectro 2 1,174 03-21-2023, 04:17 AM
Last Post: freelectro
  Time is wrong after reboots stucked at 27th august user641 2 1,221 09-08-2022, 01:39 PM
Last Post: user641
  GPS/location services don't work with Maps after Bookworm upgrade Anna 16 9,809 06-13-2022, 02:37 PM
Last Post: wibble
  Using lat/lon in GPS/GNSS apps and Messaging biketool 6 3,001 05-04-2022, 11:45 AM
Last Post: wibble
  Pure Maps GPS on Pinephone Mobian godzillest 3 3,794 08-03-2021, 03:07 AM
Last Post: mouffa
  22 July 2116 -- wrong Date & Time Anna 7 5,879 07-30-2021, 07:29 PM
Last Post: bcnaz
  (Gnome) Maps won't start on Mobian? TRS-80 3 3,106 07-11-2021, 12:09 PM
Last Post: TRS-80
Question How to Save Read Only Files, Questions on Location lovepine88 8 7,545 06-12-2021, 06:08 PM
Last Post: ryo
  location tracking ergo owl 39 34,549 05-13-2021, 09:38 PM
Last Post: KC9UDX

Forum Jump:


Users browsing this thread: 3 Guest(s)