I'm not sure if Immich does this but it is a self-hostable Google photos replacement. It does geotagging but I'm not sure if it will break HDR for you. Might be worth while to check out.
Free and Open Source Software
If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
Thanks. I use Immich, but when I tagged a photo then saved it back to my computer, the geotagging was gone (but HDR was still intact). It's as if it saves it to its own database, and I can't find any settings to confirm.
If you're comfortable on the command line, exiftool
is pretty flexible and can likely do what you want
I use Digikam to geotag, facetag, rate, arrange, manage albums, change date&time Then in options > write metadata to files.
This will embed all changes in images.
Just make sure to check the box inside settings that allow to write geodata to exif data.
Thanks, I'll give Digikam a try!
I've updated my OP with some interesting new details!
Do you only want to geotag, without editing the files any further? If yes, you can do this on the command line with exiftool or exiv2.
If you are also going to edit your photos, then AFAICT darktable preserves all EXIF data, though I am not familiar specifically with the HDR data you refer to. It allows geotagging by dragging on a map.
Thanks, I use darktable, but will give it a try!
I've updated my OP with some interesting new details!
your first sentence not all verbs :D