Incorrect coordinates in Gallery
- /e/ version: any
- Device model(s):
- Developer mode enabled: yes/no
- Device rooted: yes/no
- Trackers blocker enabled: yes/no
Summary
Reverse geocoding in Gallery is incorrect in some conditions.
The problem
Steps to reproduce
Gallery->picture->Three dots->Details->Location
What is the current behavior?
Address is incorrect in some specific cases.
What is the expected correct behavior?
Correct address.
Technical informations
Gallery is using Android location service which in /e/OS goes through microG that is using Nominatim with GNSS coordinates to get an address in return.
Problem: GNSS coordinates are not passed correctly to Nominatim. For instance if longitude is negative, the '-' is forgotten somewhere in the process and the longitude becomes positive. In my case -0.5 become 0.5, which means that all locations west to Greenwhich meridian give false results.
The same problem is possibly there for negative latitudes (south to equator).
Likely a bug in microG.
Relevant screenshots
Solutions
Workaround
Possible fixes