I'm trying to add tags to my image with the following command:
"C:\Program Files (x86)\Geo\GeoSetter\tools\exiftool.exe" -ProjectionType="equirectangular" -UsePanoramaViewer="True" -"PoseHeadingDegrees<$exif:GPSImgDirection" -"CroppedAreaImageWidthPixels<$ImageWidth" -"CroppedAreaImageHeightPixels<$ImageHeight" -"FullPanoWidthPixels<$ImageWidth" -"FullPanoHeightPixels<$ImageHeight" -CroppedAreaLeftPixels="0" -CroppedAreaTopPixels="0"
But after executing the command above I get the following error:
Warning: [minor] Tag 'exif:GPSImgDirection' not defined
Please help me what I'm doing wrong?
You're not doing anything wrong (except that I would recommend dropping the "$" symbols when doing a simple tag copy -- see common mistake number 5 (https://exiftool.org/mistakes.html#M5)). The warning is because GPSImgDirection doesn't exist in your source file, but you won't see the warning if you drop the "$" symbol (I have just added a note about this to the common mistakes page).
- Phil
Thanks for re reply. So should I use
"C:\Program Files (x86)\Geo\GeoSetter\tools\exiftool.exe" -ProjectionType="equirectangular" -UsePanoramaViewer="True" -"PoseHeadingDegrees<exif:GPSImgDirection" -"CroppedAreaImageWidthPixels<ImageWidth" -"CroppedAreaImageHeightPixels<ImageHeight" -"FullPanoWidthPixels<ImageWidth" -"FullPanoHeightPixels<ImageHeight" -CroppedAreaLeftPixels="0" -CroppedAreaTopPixels="0"
insread?
Yes. Note that the result will be the same (PoseHeadingDegrees won't get written if GPSImgDirection doesn't exist), but you won't get the warning.
- Phil
Thanks for the help and for great tool :)