-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding tag value for accuracy #121
Comments
Hi, I'll need a bit more context please as admittedly I don't understand what you would like at this stage. Also I'm not entirely sure that if I do understand correctly what you're after, it's possible. As for the request: I've taken an arbitrary jpg file and aligned it with your txt file and did:
I guess what I need to understand is, where would I find the tag you're after? Exiftool appears to take notice of it but I can't seem to find it in the output. ( At the same time doing some quick search Phil has suggested very recently that such transformations aren't possible: https://exiftool.org/forum/index.php?topic=16545.0 |
This question led me down a GPS rabbit hole. I believe technically, But it probably doesn't belong in For what it's worth, here's the ChatGPT session. But as your link to the exiftool forums says, I suspect that @tarbault is user Mobilis on the exiftool forums based upon re-reading that thread. |
As always, thanks for the valuable input;) So yes I think it's currently not something I can do but if Phil implements it in ET I can then transfer that into GTN |
Digging further down the rabbit hole, it looks like the only time exiftool will geotag Currently, the only thing exiftool does with |
Hello,
Thanks to both of you for the quick answer and the time you took to do it.
First, yes, I'm also Mobilis, my mistake for not checking which account was
active at the time, and... well done Sherlock !😉
For some more context (that I realise I could have provided to start with,
sorry), iNaturalist is both a website and database to provide "citizen
scientists" with a way to report the presence of animal and plant species
they observe around them.
Observations are qualified, needing a recording (picture or sound, mostly
the former), an identification, a date, time and position, preferably using
a GPS, and if possible mentioning accuracy.
*Using the App*
More to the point, the iNaturalist organisation also provides an app for
smartphones that uses the phone's camera and gps to create records and
upload them.
It also provides "computer vision" that uses AI to identify what the camera
sees in real time.
When using the iNat app internal camera, it calculates and stores a value
for accuracy in meters, which is the behaviour I'm trying to replicate when
publishing from the computer (see below)
It is not the case if the picture is taken from the camera software outside
the app, and then published later through the iNat app using the upload
from gallery option, so this calculation is made by the app itself and not
by the smartphone camera software.
*Using a computer*
A lot of users publish their observations from a computer via the website,
which I prefer, smartphone pictures not being good enough for some
situations (macro photography, birds etc.)
This is where my question comes in: is there a way to write a value for
accuracy in the tags of the picture before uploading it ?
Some research on the iNat forum indicates that it is possible:
(e.g. the “GPSHPositioningError” EXIF tag, which is successfully
interpreted as ‘accuracy’ by iNat, at the moment).
So I went looking for a way to do this, and... here we are !
I also noted that some cameras do store more GPS data than others (basics
are Lat, Lon, Alt, of course, but some store speed, direction and...
accuracy), so I thought, "why not ask ?"
Of course, I do realise that this functionality is not something that will
matter to everyone, and that it currently might ot even be possible, period.
But it is my contribution to "put it on the radar" just in case...
Thanks again for everything !
*References*
I had done some research before posting my request, and you are absolutely
right: HDOP is not a measure in meters, but a value that is used to
calculate it.
Here is some reference to the subject:
… > Calculation Process
To estimate GPS accuracy from HDOP, you need to combine it with another
factor:
UERE (User Equivalent Range Error): This represents the error in the
measurement of the distance to each satellite.
Calculation Formula:
The formula to estimate horizontal position accuracy is: Estimated
Accuracy=HDOP×UERE
Steps to Calculate
Determine HDOP: This value is typically provided by your GPS receiver.
Estimate UERE: This value can vary depending on the GPS receiver quality
and environmental conditions. A common estimate for civilian GPS is about 5
meters.
Apply the Formula: Multiply HDOP by UERE.
>
> For example:
> If HDOP = 1.5 and UERE = 5 meters:
>>
>> Estimated Accuracy=1.5×5=7.5 meters
------------------------------
*Thierry Arbault - iNaturalist
<https://www.inaturalist.org/observations?user_id=thierrya>*
Le dim. 3 nov. 2024 à 21:19, StarGeekSpaceNerd ***@***.***> a
écrit :
Digging further down the rabbit hole, it looks like the only time exiftool
will geotag GPSHPositioningError is when it encounters accuracy_horizontal
which appears in opentrack GPX files
<https://github.com/opentrack/opentrack>. Source
<https://exiftool.org/forum/index.php?msg=85869> of that addition.
—
Reply to this email directly, view it on GitHub
<#121 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHAN6IECESW3P6JIYA65YDZ6ZZNJAVCNFSM6AAAAABRC6MNYGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJTGU3DINJTG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi, I think there are two separate issues here.
The other is whether we can read that tag from your gpx/txt file and then relay it further and at the moment I think that's not possible because ET doesn't read that parameter as part of the gpx import. |
Yes, it makes sense.
So, I can do it manually but if I want to automate it, I'll need to write
some code on my side. Can do ! I will give it a go during winter !
Thanks for your help !
…------------------------------
*Thierry Arbault - iNaturalist
<https://www.inaturalist.org/observations?user_id=thierrya>*
Le lun. 4 nov. 2024 à 12:15, Viktor Nemeth ***@***.***> a
écrit :
Hi,
I think there are two separate issues here.
The simple one, "is it possible to write that particular tag"? That is a
yes and if you just do
exiftool -GPSHPositioningError=0.2
d:\temp\20241027_Virginia_Water_EOS_50D_IMG_3383_MOD_20241028.JPG
You'll see it in the file:
image.png (view on web)
<https://github.com/user-attachments/assets/070fdc52-3a30-4845-bd37-6f79d6fcd4cd>
The other is whether we can read that tag from your gpx/txt file and
*then* relay it further and at the moment I think that's not possible
because ET doesn't read that parameter as part of the gpx import.
—
Reply to this email directly, view it on GitHub
<#121 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHAN6JK4WCNCSVIXSUHSA3Z65JNFAVCNFSM6AAAAABRC6MNYGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJUGQ2DAMJYGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
No worries. If Phil adds the feature into ET i'll make sure to get back to you and then we can discuss how best to do this. :) - prob keep the ticket open for now so I can see it otherwise might forget. |
That would be great, thanks!
…------------------------------
*Thierry Arbault - iNaturalist
<https://www.inaturalist.org/observations?user_id=thierrya>*
Le lun. 4 nov. 2024 à 12:30, Viktor Nemeth ***@***.***> a
écrit :
No worries. If Phil adds the feature into ET i'll make sure to get back to
you and then we can discuss how best to do this. :) - prob keep the ticket
open for now so I can see it otherwise might forget.
—
Reply to this email directly, view it on GitHub
<#121 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHAN6NI4MSHR3XODT3BLTDZ65LFPAVCNFSM6AAAAABRC6MNYGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJUGQ3TAMBUHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
On the exiftool side, if the
This command creates backup files. Add |
Thanks, I'll check it out.
…------------------------------
*Thierry Arbault - iNaturalist
<https://www.inaturalist.org/observations?user_id=thierrya>*
Le lun. 4 nov. 2024 à 15:51, StarGeekSpaceNerd ***@***.***> a
écrit :
On the exiftool side, if the GPSDop tag is filled and assuming 5 meters
for the baseline range error, the exiftool command would be
exiftool "-GPSHPositioningError<${GPSDop;$_*=5}" /path/to/files/
This command creates backup files. Add -overwrite_original
<https://exiftool.org/exiftool_pod.html#overwrite_original> to suppress
the creation of backup files. Add -r
<https://ExifTool.org/exiftool_pod.html#r-.--recurse> to recurse into
subdirectories. If this command is run under Unix/Mac, reverse any
double/single quotes to avoid bash interpretation.
—
Reply to this email directly, view it on GitHub
<#121 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHAN6I35QH6V2VNUOAF6F3Z653XNAVCNFSM6AAAAABRC6MNYGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJUHEZDAMRXGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Note that exiftool doesn't currently fill the |
That is excellent ! Now it's on the radar, and it might be possible in the
future.
Many thanks again
…------------------------------
*Thierry Arbault - iNaturalist
<https://www.inaturalist.org/observations?user_id=thierrya>*
Le lun. 4 nov. 2024 à 19:13, StarGeekSpaceNerd ***@***.***> a
écrit :
Note that exiftool doesn't currently fill the GPSDop tag from a GPS
track. I suggested doing so and filling the GPSMeasureMode mode in this
exiftool forums thread <https://exiftool.org/forum/index.php?msg=89521>.
—
Reply to this email directly, view it on GitHub
<#121 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHAN6MMDN4E3DSFHD5WIBLZ66TL7AVCNFSM6AAAAABRC6MNYGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJVGM4TCOJWGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Is your feature request related to a problem? Please describe.
I use GeotagNinja to tag images of plants and animals to upload them on iNaturalist.
iNaturalist "requires" if possible the accuracy to be present to assess the quality of an observation.
Most research studies discard observations missing accuracy.
Describe the solution you'd like
use the value of the HDOP present in the GPX to fill the tag named GPSHPositioningError
sample tag is:
<hdop>1.3</hdop>
Sample gpx file attache with a full line
Describe alternatives you've considered
I found no software that can do that as of today
Additional context
Add any other context or screenshots about the feature request here.
20241102.txt
The text was updated successfully, but these errors were encountered: