Yet Another Cycling Forum
Random Musings => Gallery => Phototalk => Topic started by: Feanor on 17 March, 2021, 06:05:13 pm
-
Can anyone recommend a tool for adding and editing exif data to pictures?
Specifically, location data.
I'm looking for a small single-purpose tool; not a photo editing suite!
The use-scenarios are:
-Sometimes, I get sent pictures from an event I've been on, using a messaging service which strips the exif tags. So they don't show up at the correct location on maps like Strava etc. So in this case, I'd like to add new exif tags.
-Sometimes, my phone will not have acquired GPS with any accuracy if I take a photo very soon after waking it up. So the pictures show up way off from their true location. In this case, I'd like to edit existing exif tags.
-
Which OS?
-
Maybe too big, but free. GNU Image Manipulation Program (GIMP) enables EXIF editing. https://www.gimp.org/
-
I've done that using Flickr. It'd be a bit of a faff uploading the image to Flickr, changing the EXIF, downloading the updated image then exporting it to Strava, thobut.
-
Thx all.
OS = Win10 64bit
I've used the GIMP before, but I don't currently have it installed. I'll go take a look.
I'd not considered web services, that's an interesting option but yes a bit of a faff. I wonder if it will allow the addition of tags which do not already exist, or just the ability to edit tags which are already there. Need to go look.
-
Yes, the Metadata editor in GIMP seems to do what I need, thanks.
It is a bit more heavyweight that I was looking for, and like most photo editing software, looks to have a learning curve as steep as the Lecht.
But the bit I want is straightforward!
-
For location data, GeoSetter is good. https://geosetter.de
Can sync with a GPS track, or set locations by clicking on the map.
Does let you edit a variety of other tags, as well as locations.
-
Ooh, that geosetter thing is exactly what I was looking for!
Thx.
-
You could write your own!
Here’s mine for adding comments meta tags
void jpeg_addcomment(const char *path, const char *comment)
{
CFile f;
f.Open(path, CFile::modeWrite);
f.Seek(-2, CFile::end);
int len = strlen(comment)+3;
unsigned char buf[4];
buf[0] = 0xff;
buf[1] = 0xfe;
buf[2] = len/256;
buf[3] = len%256;
f.Write(buf, 4);
f.Write(comment, strlen(comment)+1);
// EOI
buf[0] = 0xff;
buf[1] = 0xd9;
f.Write(buf, 2);
}
-
So Ive managed to add gps tags, and set the myriad of date/time stamps to be consistent with the tracklog and location, but Strava still wont plonk it on the map.
It just remains as if it were untagged.
Im missing some magic sauce here.
-
Garmin Basecamp can batch geotag jpg photos provided you have a matching gps track and the photo time stamps are good.
-
Why bother, you know where the pic was taken. Do you want everyone to stop at the same place if they upload the run. Met someone on the Badger bikepacking route going north as we went south. Asked about foods stops and he said don't know, was just following the breadcrumb map on his garmin.
-
So Ive managed to add gps tags, and set the myriad of date/time stamps to be consistent with the tracklog and location, but Strava still wont plonk it on the map.
It just remains as if it were untagged.
Im missing some magic sauce here.
Strava will only put photos on the map if you upload them through the app. Doesn't work if you upload it through the website.
-
I've used geosetter, too. Haven't done this for a couple of years, but this might help.
I had strava synch with Garmin, upload to Garmin and the synched Strava displays as expected, eg https://www.strava.com/activities/961520669
-
So Ive managed to add gps tags, and set the myriad of date/time stamps to be consistent with the tracklog and location, but Strava still wont plonk it on the map.
It just remains as if it were untagged.
Im missing some magic sauce here.
Strava will only put photos on the map if you upload them through the app. Doesn't work if you upload it through the website.
Success! That was indeed the magic sauce.
Same image copied to the phone and uploaded via the app worked just fine.
Shame they don't seem to mention that anywhere!
Thx.
It was just for a silly joak photo, but the technical challenge was bugging me.
https://www.strava.com/activities/4945268890
-
So Ive managed to add gps tags, and set the myriad of date/time stamps to be consistent with the tracklog and location, but Strava still wont plonk it on the map.
It just remains as if it were untagged.
Im missing some magic sauce here.
Strava will only put photos on the map if you upload them through the app. Doesn't work if you upload it through the website.
Success! That was indeed the magic sauce.
Same image copied to the phone and uploaded via the app worked just fine.
Shame they don't seem to mention that anywhere!
Thx.
It was just for a silly joak photo, but the technical challenge was bugging me.
https://www.strava.com/activities/4945268890
I wonder if it is a difference at the receiving end or the sending. I believe for example apple devices strip metadata from JPEG’s when you attach them to emails.
I see from strava you went past the house of at least one relative. I ran in the hill race at the last Lonach gathering.
-
Garmin Basecamp can batch geotag jpg photos provided you have a matching gps track and the photo time stamps are good.
Ta (although it doesn't seem to tag RAW files) :thumbsup: