It seems that the GPS geo-tagging values are rounded to the nearest second. This results in a precison 5x worse than the raw GPS measurements can give.
Please consider saving the EXIF geo-tags without rounding.
For example: the following link describes how to save it to the nearest thousandth of a second:
https://stackoverflow.com/questions/10531544/write-geotag-jpegs-exif-data-in-android
Anonymous
On my device Asus Pro M1 it is saved with 3 decimal numbers after dot.
ImageMagick returned
exif:GPSLatitude=56/1, 23/1, 321439/10000But what I couldnt find is EXIF GPS data fopr WebP file. Do we save this information?
I have the same experience that OpenCamera looses precision. Here is what I get from GPS on Asus Zenfone 8 and same precision has Xiaomi Mi 10T Pro:
$GNRMC,100009.00,A,5002.255405,N,01430.346554,E,0.0,,250521,1.3,E,A,V*73I think I saw somewhere NMEA output from Huawei Mate 40 Pro and it had by two decimal positions longer output.
Last edit: Martin Mokrejs 2021-07-16
Same issue.
Here a sample using the internal GNSS receiver.
Note: there are 77 pictures but at only 6 locations !
For information, I use a GNSS receiver with centimeter accuracy.
It work in real-time kinematic (RTK). See Centipede project.
Last edit: Yves Pratter 2021-07-15
Same problem for me. Also working with RTK receiver. I have to use other software to make geotagging again afterward.
In my example, I forgot to record the gps track, so I can't correlate images to the track and geotagged them again 😥
Last edit: Yves Pratter 2021-07-15
ImageSaver.java#l2793
ImageSaver.java#l2949
Is it an issue in androidx.exifinterface:exifinterface or coordinates are rounded somewhere in Open Camera code?
Lat/lon are formatted here: TextFormatter.java#l91
Only for display or even in Exif data?
The "rounding/processing" of obtained values must somehow differ for because the GPS values in EXIF header differ from those shown in white text in the image.
Last edit: Martin Mokrejs 2021-07-16
Seems at least part of the problem was fixed in Jun 2021 so that the GPS pos in EXIF seems to merely match }has a few more decimal positoon extra) the position shown in white digits on the picture.