I just needed to edit (add) GPS coordinates of some photos without unnecessarry effort (raw exiftool) and with GPS format that matches my favorite maps.
-
exiftool installed
- via chocolatey:
choco install exiftool
- or http://owl.phy.queensu.ca/~phil/exiftool/
- via chocolatey:
-
Place the
editGeoTag.ps1
script to the same folder as images you want to edit the geotag. -
Open the script in Windows PowerShell ISE by selecting Edit
- Edit
$filename
variable to match selected image.
- Copy coordinates from maps. I recommend tourist variant of mapy.cz
-
Paste coordinates to
$latLongString
variable. -
Press F5 to run the script. This is expected result:
F# version works same, but needs also F# installed. PowerShell script is more straightforward.