how to tag photos from google locations

Started by pbranly, June 20, 2022, 05:45:27 AM

Previous topic - Next topic

pbranly

Hi
Sorry if this question had already been raised.
I used to tag my photos from kml locations coming from google. it was possible to choose either JSON or KML and this worked fine.
It is no more possible to choose such option and the sole possibility is to have JSON file that I can't use with the exiftool (Or i dont know how using it)
Another solution is to upload day per day kml file but this gives very bad results (only one photo has a position or many false positions several kms away)
are there any working solutions ?
Thank you by advance
Phil (in Fr'ance)

StarGeek

It's hard to make out what you're saying (translation errors?) but if you have an sample json or kml file you can share, we can take a look.

But if you're asking whether you can still get the data from Google, no idea if it's not in your Google Takeout.  How Google works is beyond the scope of these forums.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

pbranly

Hi,
Sorry about my poor english.
The purpose of my question was not to ask how downloading the google takeout. I dont have any issue with that. Several months ago it was possible to choose either Json or kml format and kml one was working fine. Now i can downloas the JSON format only and i dont have any result.
The purpose is to tag all my photos taken from 5 to 11th June during a trip in a boat in Corsica.
My photos are coming from a Panasonic Lumix in RW2 format
I join the June JSON file coming from google takeout
I use the following command:
[exiftool -geotag positions/2022_JUNE.json "-geotime<${DateTimeOriginal}+02:00" . -api GeoMaxIntSecs=3600 photos/*]
and the result is :
[Warning: No track points found in GPS file 'positions/2022_JUNE.json' in File:Geotag (ValueConvInv)
Warning: No writable tags set from photos/P1160002.RW2
Warning: No writable tags set from photos/P1160003.RW2
...........
Warning: No writable tags set from photos/P1160113.RW2
Warning: No writable tags set from photos/P1160114.RW2
Warning: No writable tags set from photos/P1160115.RW2
    1 directories scanned
    0 image files updated
  111 image files unchanged]
thank you to help
Regards
Philippe

Phil Harvey

Hi Philippe,

Quote from: pbranly on June 21, 2022, 01:53:08 AM
[exiftool -geotag positions/2022_JUNE.json "-geotime<${DateTimeOriginal}+02:00" . -api GeoMaxIntSecs=3600 photos/*]
and the result is :
[Warning: No track points found in GPS file 'positions/2022_JUNE.json' in File:Geotag (ValueConvInv)

JSON is not a supported format for GPS track log files.  The supported formats are listed here.

Looking at your JSON file, I don't know if there is sufficient information to properly geotag a set of images.  The only accurate timestamped fixes in the file are in the "simplifiedRawPath" section, and these fixes are fairly sparse.  Here is the complete list:

          "timestamp": "2022-06-01T07:49:12.756Z"
          "timestamp": "2022-06-01T07:53:37.318Z"
          "timestamp": "2022-06-01T08:14:26.223Z"
          "timestamp": "2022-06-01T08:29:19.183Z"
          "timestamp": "2022-06-01T12:33:10.180Z"
          "timestamp": "2022-06-01T13:01:36.423Z"
          "timestamp": "2022-06-01T14:59:39.515Z"
          "timestamp": "2022-06-01T15:23:46.066Z"
          "timestamp": "2022-06-01T20:13:45.001Z"
          "timestamp": "2022-06-02T07:44:33.001Z"
          "timestamp": "2022-06-02T07:46:36Z"
          "timestamp": "2022-06-02T08:22:12.999Z"
          "timestamp": "2022-06-02T08:24:32.999Z"
          "timestamp": "2022-06-02T08:27:13Z"
          "timestamp": "2022-06-02T08:44:52.999Z"
          "timestamp": "2022-06-02T08:55:13Z"
          "timestamp": "2022-06-02T09:12:52.999Z"
          "timestamp": "2022-06-02T09:27:12.999Z"
          "timestamp": "2022-06-02T09:31:52.999Z"
          "timestamp": "2022-06-02T09:43:25.999Z"
          "timestamp": "2022-06-02T09:45:33Z"
          "timestamp": "2022-06-03T08:08:16.656Z"
          "timestamp": "2022-06-03T08:35:26.009Z"
          "timestamp": "2022-06-04T05:43:48.659Z"
          "timestamp": "2022-06-04T05:48:30.559Z"
          "timestamp": "2022-06-04T07:56:44.685Z"
          "timestamp": "2022-06-04T08:01:49.316Z"
          "timestamp": "2022-06-04T08:21:47.699Z"
          "timestamp": "2022-06-04T10:17:01.068Z"
          "timestamp": "2022-06-04T10:51:06.001Z"
          "timestamp": "2022-06-04T11:03:26.554Z"
          "timestamp": "2022-06-04T11:17:24.001Z"
          "timestamp": "2022-06-04T11:22:34.824Z"
          "timestamp": "2022-06-04T11:36:20.776Z"
          "timestamp": "2022-06-04T11:41:25.280Z"
          "timestamp": "2022-06-04T14:01:06.244Z"
          "timestamp": "2022-06-04T14:01:14.998Z"
          "timestamp": "2022-06-04T14:03:30.062Z"
          "timestamp": "2022-06-04T14:10:00.828Z"
          "timestamp": "2022-06-04T14:10:20.675Z"
          "timestamp": "2022-06-04T14:14:34.138Z"
          "timestamp": "2022-06-04T14:23:03.678Z"
          "timestamp": "2022-06-04T14:28:58.497Z"
          "timestamp": "2022-06-04T14:58:04.095Z"
          "timestamp": "2022-06-04T15:00:55Z"
          "timestamp": "2022-06-04T15:03:04Z"
          "timestamp": "2022-06-04T15:05:24.365Z"
          "timestamp": "2022-06-04T15:18:29.421Z"
          "timestamp": "2022-06-04T15:23:46.150Z"
          "timestamp": "2022-06-04T15:25:45.561Z"
          "timestamp": "2022-06-06T00:33:25.461Z"
          "timestamp": "2022-06-06T00:44:00.689Z"
          "timestamp": "2022-06-06T00:49:08.453Z"
          "timestamp": "2022-06-06T00:54:04.137Z"
          "timestamp": "2022-06-06T01:04:00.274Z"
          "timestamp": "2022-06-06T01:19:21.321Z"
          "timestamp": "2022-06-06T01:24:49.612Z"
          "timestamp": "2022-06-06T01:35:09.001Z"
          "timestamp": "2022-06-06T01:40:42.480Z"
          "timestamp": "2022-06-06T01:46:41.999Z"
          "timestamp": "2022-06-06T01:59:24.072Z"
          "timestamp": "2022-06-06T02:09:48.470Z"
          "timestamp": "2022-06-06T02:15:04.051Z"
          "timestamp": "2022-06-06T02:18:59.050Z"
          "timestamp": "2022-06-06T02:23:04.212Z"
          "timestamp": "2022-06-06T02:25:38.612Z"
          "timestamp": "2022-06-06T02:31:31.266Z"
          "timestamp": "2022-06-06T02:45:50.425Z"
          "timestamp": "2022-06-06T02:48:53.958Z"
          "timestamp": "2022-06-06T02:51:17Z"
          "timestamp": "2022-06-06T02:57:25.270Z"
          "timestamp": "2022-06-06T03:00:25.295Z"
          "timestamp": "2022-06-06T03:19:06.469Z"
          "timestamp": "2022-06-06T03:21:33.605Z"
          "timestamp": "2022-06-06T03:24:44.999Z"
          "timestamp": "2022-06-06T03:41:56.210Z"
          "timestamp": "2022-06-06T03:46:31.001Z"
          "timestamp": "2022-06-06T03:51:34.272Z"
          "timestamp": "2022-06-06T04:03:44.175Z"
          "timestamp": "2022-06-06T04:05:54Z"
          "timestamp": "2022-06-06T04:11:05.934Z"
          "timestamp": "2022-06-06T04:21:23.998Z"
          "timestamp": "2022-06-06T06:09:09.047Z"
          "timestamp": "2022-06-06T06:17:09.674Z"
          "timestamp": "2022-06-06T06:38:27.349Z"
          "timestamp": "2022-06-06T06:43:34.997Z"
          "timestamp": "2022-06-06T06:57:19.508Z"
          "timestamp": "2022-06-06T07:08:40.286Z"
          "timestamp": "2022-06-06T07:22:07.200Z"
          "timestamp": "2022-06-06T07:24:08.041Z"
          "timestamp": "2022-06-06T07:27:41.606Z"
          "timestamp": "2022-06-06T07:29:59.001Z"
          "timestamp": "2022-06-06T07:33:40.451Z"
          "timestamp": "2022-06-06T07:37:19.459Z"
          "timestamp": "2022-06-06T07:48:53.742Z"
          "timestamp": "2022-06-06T08:04:24.453Z"
          "timestamp": "2022-06-06T08:11:34.069Z"
          "timestamp": "2022-06-06T08:18:41.011Z"
          "timestamp": "2022-06-06T08:31:27.301Z"
          "timestamp": "2022-06-06T08:45:02.164Z"
          "timestamp": "2022-06-06T08:50:35.633Z"
          "timestamp": "2022-06-06T08:56:19.649Z"
          "timestamp": "2022-06-06T09:00:29.052Z"
          "timestamp": "2022-06-06T09:05:38.999Z"
          "timestamp": "2022-06-06T09:15:35.120Z"
          "timestamp": "2022-06-06T09:23:27.839Z"
          "timestamp": "2022-06-06T09:28:46.523Z"
          "timestamp": "2022-06-06T09:37:31.193Z"
          "timestamp": "2022-06-06T09:41:28.562Z"
          "timestamp": "2022-06-06T09:55:40.999Z"
          "timestamp": "2022-06-06T10:02:46Z"
          "timestamp": "2022-06-06T10:08:02.882Z"
          "timestamp": "2022-06-06T10:21:58.221Z"
          "timestamp": "2022-06-06T10:36:46.682Z"
          "timestamp": "2022-06-06T10:50:22Z"
          "timestamp": "2022-06-06T10:56:17.248Z"
          "timestamp": "2022-06-06T11:03:40.214Z"
          "timestamp": "2022-06-06T11:09:01.365Z"
          "timestamp": "2022-06-06T11:16:24.684Z"
          "timestamp": "2022-06-06T11:29:31.280Z"
          "timestamp": "2022-06-06T11:42:32.815Z"
          "timestamp": "2022-06-06T11:56:52.417Z"
          "timestamp": "2022-06-06T12:03:37.491Z"
          "timestamp": "2022-06-06T12:10:32.513Z"
          "timestamp": "2022-06-06T12:16:18.748Z"
          "timestamp": "2022-06-06T12:25:54.225Z"
          "timestamp": "2022-06-06T12:31:24.641Z"
          "timestamp": "2022-06-06T12:33:29.640Z"
          "timestamp": "2022-06-06T12:39:30.656Z"
          "timestamp": "2022-06-06T12:50:48.197Z"
          "timestamp": "2022-06-07T06:52:39Z"
          "timestamp": "2022-06-07T07:00:31.275Z"
          "timestamp": "2022-06-07T07:05:06.244Z"
          "timestamp": "2022-06-07T07:19:26.376Z"
          "timestamp": "2022-06-07T07:44:38.998Z"
          "timestamp": "2022-06-07T07:58:35.053Z"
          "timestamp": "2022-06-07T08:08:54.491Z"
          "timestamp": "2022-06-07T08:25:07.321Z"
          "timestamp": "2022-06-07T08:38:33.031Z"
          "timestamp": "2022-06-07T08:52:34.972Z"
          "timestamp": "2022-06-07T09:07:55.098Z"
          "timestamp": "2022-06-07T09:18:46.888Z"
          "timestamp": "2022-06-07T09:21:57.999Z"
          "timestamp": "2022-06-07T09:36:53.998Z"
          "timestamp": "2022-06-07T09:56:56.177Z"
          "timestamp": "2022-06-07T10:04:08.172Z"
          "timestamp": "2022-06-07T10:17:29.001Z"
          "timestamp": "2022-06-07T10:24:56.430Z"
          "timestamp": "2022-06-07T10:30:37.277Z"
          "timestamp": "2022-06-07T10:44:55.793Z"
          "timestamp": "2022-06-07T11:00:00.376Z"
          "timestamp": "2022-06-07T11:14:04.190Z"
          "timestamp": "2022-06-07T11:27:57.689Z"
          "timestamp": "2022-06-07T11:42:23.276Z"
          "timestamp": "2022-06-07T11:56:06.711Z"
          "timestamp": "2022-06-07T12:09:20.446Z"
          "timestamp": "2022-06-07T12:22:36Z"
          "timestamp": "2022-06-07T12:29:02.033Z"
          "timestamp": "2022-06-07T12:31:06.998Z"
          "timestamp": "2022-06-07T12:33:25.998Z"
          "timestamp": "2022-06-07T12:37:31.999Z"
          "timestamp": "2022-06-07T12:41:50.306Z"
          "timestamp": "2022-06-07T12:44:01Z"
          "timestamp": "2022-06-07T12:50:24.125Z"
          "timestamp": "2022-06-07T13:04:02.099Z"
          "timestamp": "2022-06-07T13:17:09.426Z"
          "timestamp": "2022-06-07T13:32:01.013Z"
          "timestamp": "2022-06-07T13:37:11.857Z"
          "timestamp": "2022-06-07T13:47:54Z"
          "timestamp": "2022-06-08T00:40:35.489Z"
          "timestamp": "2022-06-08T01:47:29.280Z"
          "timestamp": "2022-06-08T01:57:51.065Z"
          "timestamp": "2022-06-08T01:59:57.210Z"
          "timestamp": "2022-06-08T02:08:38.816Z"
          "timestamp": "2022-06-08T02:13:32.564Z"
          "timestamp": "2022-06-08T02:25:29.492Z"
          "timestamp": "2022-06-08T02:40:47.427Z"
          "timestamp": "2022-06-08T02:44:09.148Z"
          "timestamp": "2022-06-08T02:48:39.248Z"
          "timestamp": "2022-06-08T02:52:29.999Z"
          "timestamp": "2022-06-08T03:07:24.449Z"
          "timestamp": "2022-06-08T03:31:38.226Z"
          "timestamp": "2022-06-08T03:48:35.116Z"
          "timestamp": "2022-06-08T03:53:27.641Z"
          "timestamp": "2022-06-08T04:07:32.289Z"
          "timestamp": "2022-06-08T04:13:45.997Z"
          "timestamp": "2022-06-08T05:11:14.072Z"
          "timestamp": "2022-06-08T05:17:29.787Z"
          "timestamp": "2022-06-08T06:15:29.546Z"
          "timestamp": "2022-06-08T06:17:28.667Z"
          "timestamp": "2022-06-08T06:25:15.418Z"
          "timestamp": "2022-06-08T06:30:23.782Z"
          "timestamp": "2022-06-08T06:33:14.999Z"
          "timestamp": "2022-06-08T06:36:44.997Z"
          "timestamp": "2022-06-08T06:50:58.461Z"
          "timestamp": "2022-06-08T07:07:46.428Z"
          "timestamp": "2022-06-08T07:17:03.628Z"
          "timestamp": "2022-06-08T07:19:42.188Z"
          "timestamp": "2022-06-08T07:22:07Z"
          "timestamp": "2022-06-08T07:30:09.362Z"
          "timestamp": "2022-06-08T07:41:54.264Z"
          "timestamp": "2022-06-08T07:47:07.788Z"
          "timestamp": "2022-06-08T07:57:01.535Z"
          "timestamp": "2022-06-08T08:02:10.272Z"
          "timestamp": "2022-06-08T08:12:06.119Z"
          "timestamp": "2022-06-08T08:18:38.062Z"
          "timestamp": "2022-06-08T08:24:42.468Z"
          "timestamp": "2022-06-09T06:18:11.470Z"
          "timestamp": "2022-06-09T06:23:23.560Z"
          "timestamp": "2022-06-09T06:29:12.083Z"
          "timestamp": "2022-06-09T06:31:53Z"
          "timestamp": "2022-06-09T06:36:03.244Z"
          "timestamp": "2022-06-09T06:44:33.363Z"
          "timestamp": "2022-06-09T06:54:24.282Z"
          "timestamp": "2022-06-09T06:57:42.818Z"
          "timestamp": "2022-06-09T07:03:46.742Z"
          "timestamp": "2022-06-09T07:23:42.133Z"
          "timestamp": "2022-06-09T07:36:37.014Z"
          "timestamp": "2022-06-09T07:48:20.928Z"
          "timestamp": "2022-06-09T08:03:01.960Z"
          "timestamp": "2022-06-09T08:13:43.576Z"
          "timestamp": "2022-06-09T08:16:08.001Z"
          "timestamp": "2022-06-09T08:28:54.942Z"
          "timestamp": "2022-06-09T08:42:09.447Z"
          "timestamp": "2022-06-09T08:54:52.999Z"
          "timestamp": "2022-06-09T09:08:51.999Z"
          "timestamp": "2022-06-09T09:22:22.377Z"
          "timestamp": "2022-06-09T09:43:27.697Z"
          "timestamp": "2022-06-09T09:48:27.103Z"
          "timestamp": "2022-06-09T10:03:26.890Z"
          "timestamp": "2022-06-09T10:17:23.748Z"
          "timestamp": "2022-06-09T10:29:40.687Z"
          "timestamp": "2022-06-09T10:42:49.366Z"
          "timestamp": "2022-06-10T07:20:18.202Z"
          "timestamp": "2022-06-10T07:26:03.796Z"
          "timestamp": "2022-06-10T07:30:41.649Z"
          "timestamp": "2022-06-10T07:36:50.808Z"
          "timestamp": "2022-06-10T07:43:40.795Z"
          "timestamp": "2022-06-10T07:46:37.460Z"
          "timestamp": "2022-06-10T07:59:39.161Z"
          "timestamp": "2022-06-10T08:55:31.881Z"
          "timestamp": "2022-06-11T05:46:49Z"
          "timestamp": "2022-06-11T05:48:10.999Z"
          "timestamp": "2022-06-11T05:59:31.141Z"
          "timestamp": "2022-06-11T06:03:33Z"
          "timestamp": "2022-06-11T06:58:14.001Z"
          "timestamp": "2022-06-11T07:00:16.144Z"
          "timestamp": "2022-06-11T07:08:45Z"
          "timestamp": "2022-06-11T07:25:06Z"
          "timestamp": "2022-06-11T07:30:58Z"
          "timestamp": "2022-06-11T07:56:00.999Z"
          "timestamp": "2022-06-11T08:46:07.999Z"
          "timestamp": "2022-06-11T08:51:09Z"
          "timestamp": "2022-06-11T08:56:10Z"
          "timestamp": "2022-06-11T09:01:12Z"
          "timestamp": "2022-06-11T09:03:29.999Z"
          "timestamp": "2022-06-11T09:03:44.999Z"
          "timestamp": "2022-06-11T09:06:10.999Z"
          "timestamp": "2022-06-11T09:18:15Z"
          "timestamp": "2022-06-11T09:27:17Z"
          "timestamp": "2022-06-11T14:45:07.999Z"
          "timestamp": "2022-06-11T14:56:20.999Z"
          "timestamp": "2022-06-11T15:05:57.999Z"
          "timestamp": "2022-06-11T15:09:05Z"
          "timestamp": "2022-06-11T15:35:08Z"
          "timestamp": "2022-06-12T08:50:08.957Z"
          "timestamp": "2022-06-12T16:49:54.896Z"
          "timestamp": "2022-06-12T17:04:34.881Z"
          "timestamp": "2022-06-12T17:14:57.870Z"
          "timestamp": "2022-06-12T17:20:24.966Z"


If geotagging with this resolution would be good enough for you then I could look into adding this ability to ExifTool.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Phil Harvey

I've gone ahead and added the ability to read this format JSON files, and ExifTool 12.43 will have this ability.  I'll try to release the new version within a couple of days.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

pbranly

Hi Phil
Thank you very much.
I will test it as soon as possible and willl inform of the result.
Take your time as I wont be in front of my computer before first wekk of July
regards from France
Philippe

StarGeek

Did you add the GPS coordinates through the Google website or did it already show up when you uploaded the images?

Google does not remove any metadata from the files you upload.  So if the GPS coordinates were there when you uploaded them, they should still be there in the downloaded files.  Double check the files before you try and add data that is already there.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

pbranly

hi
I did not remove or add any data from the takeout file coming from google
Google is feed with the data my Iphone sends in its background. no more , no less !
This file is far enough for me to tag days of photos.When I want more precision, i use a dedicated applet in my Iphone such as pixtrack but it drains too much my battery for long term usage
This is the reason why google takeout is a good global compromise
phil

pbranly

Hi Phil
I just want to confirm that the last version 12.43 now supports json file from google
Nice job thank you very much
this is what i get from many photos taken during one week in June in a boat on the west coast of Corsica
this is the command line I use:
exiftool -geotag positions/2022_JUNE.json "-geotime<${DateTimeOriginal}+02:00" . -api GeoMaxIntSecs=3600 photos/*

Regards
Philippe


Phil Harvey

...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Viktor Nemeth

hi Phil,

a bit of a random question. is there any way to - instead of doing the geotagging, output the "would-be-data" to a csv/xml/json or any other file without doing the write-action?

what i mean is -> assume user issues a geotag command (exiftool -geotag 2022-09-15_15-53-42.gpx \Users\username\Pictures) and this parses the various gps-files in the Pictures folder. at this point instead of updating the photo files themselves, perhaps exiftool could create a csv/text/something file with the data "it would write to each file"? or at least a standardised data of sorts....

like:
"filename='1.jpg'; gpsfiledatasource='2022-09-15_15-53-42.gpx'; lat=0.00; lon=0.00;"
"filename='2.jpg'; gpsfiledatasource='2022-09-15_15-53-42.gpx'; lat=0.01; lon=0.01;"
etc etc - whatever standard format would do.

Phil Harvey

You could create a temporary XMP file for each JPG using -srcfile tmp/%f.xmp, then you could generate a CSV (or whatever) from the set of XMP files before deleting the "tmp" directory with the XMP files.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Viktor Nemeth


Viktor Nemeth

Right, me again.
I seem to have a problem with date formats.
The config file is:
# exiftool config file
%Image::ExifTool::UserDefined::Options = (
    CoordFormat => '%+.6f', 
    #DateFormat => '%Y-%m-%d %H:%M:%S'
); 
#end

Observe the dateformat is commented out.

When I issue the following cmd:

exiftool -geotag=2022-09-15_15-53-42.gpx "-geotime<${DateTimeOriginal}+02:00" 20220915_7TV_Marketing_Pics_DSC1265_MOD_20220916.JPG -srcfile tmp/%f.xmp -v2
It works and I get
Loaded 20 points from XML-format GPS track log file '2022-09-15_15-53-42.gpx'
  GPS track start: 2022:09:15 13:53:43.000 UTC
  GPS track end:  2022:09:15 14:10:12.000 UTC
Writing File:Geotag
Source file tmp/20220915_7TV_Marketing_Pics_DSC1265_MOD_20220916.xmp does not exist
======== tmp/20220915_7TV_Marketing_Pics_DSC1265_MOD_20220916.xmp
Setting new values from 20220915_7TV_Marketing_Pics_DSC1265_MOD_20220916.JPG
  Geotime value:  2022:09:15 13:54:10.000 UTC
Writing Composite:GPSLatitude if tag exists
Writing GPS:GPSLatitude
Writing GPS:GPSLatitudeRef
Writing MIE-GPS:GPSLatitude
Writing XMP-drone-dji:GPSLatitude if tag exists
Writing XMP-exif:GPSLatitude if tag exists
Writing Composite:GPSLongitude if tag exists
Writing GPS:GPSLongitude
Writing GPS:GPSLongitudeRef
Writing MIE-GPS:GPSLongitude
Writing XMP-drone-dji:GPSLongitude if tag exists
Writing XMP-exif:GPSLongitude if tag exists
Writing MIE-GPS:GPSAltitude
Writing XMP-exif:GPSAltitude if tag exists
Writing GPS:GPSAltitude
Writing XMP-exif:GPSAltitudeRef if tag exists
Writing GPS:GPSAltitudeRef
Writing GPS:GPSLatitudeRef
Writing GPS:GPSLongitudeRef
Writing GPS:GPSDateStamp
Writing GPS:GPSTimeStamp
Writing XMP-exif:GPSDateTime if tag exists
Creating XMP file...
    + XMP-exif:GPSAltitude = '43315/3087'
    + XMP-exif:GPSAltitudeRef = '0'
    + XMP-exif:GPSLatitude = '41,53.23922526N'
    + XMP-exif:GPSLongitude = '12,28.59291474E'
    1 image files created

Note that
   
    + XMP-exif:GPSLatitude = '41,53.23922526N'
    + XMP-exif:GPSLongitude = '12,28.59291474E'

...are the correct values parsed from the gpx file.

However if I uncomment the dateformat in the config file, which is what I would prefer, then the same cmd fails (i've deleted the xmp file, as in practice the assumption it's not there in the first place) and I get
Loaded 20 points from XML-format GPS track log file '2022-09-15_15-53-42.gpx'
  GPS track start: 2022:09:15 13:53:43.000 UTC
  GPS track end:  2022:09:15 14:10:12.000 UTC
Writing File:Geotag
Source file tmp/20220915_7TV_Marketing_Pics_DSC1265_MOD_20220916.xmp does not exist
======== tmp/20220915_7TV_Marketing_Pics_DSC1265_MOD_20220916.xmp
Setting new values from 20220915_7TV_Marketing_Pics_DSC1265_MOD_20220916.JPG
Warning: No writable tags set from 20220915_7TV_Marketing_Pics_DSC1265_MOD_20220916.JPG
Error: Nothing to write - tmp/20220915_7TV_Marketing_Pics_DSC1265_MOD_20220916.xmp
    0 image files updated
    1 files weren't updated due to errors


Question(s)
- is this a bug?
- if not, how can i force the system to work without having to change the config file?

Thanks :)

Viktor Nemeth

....aaand to answer my own Q
-geotime<${DateTimeOriginal}+02:00 needs to be
-geotime<${DateTimeOriginal#}+02:00