Problems with SetAttr gpslatitude

Hello

I am trying to enter GPS info into picture files using these commands:

<?xml version="1.0"?> <button backcol="none" display="both" label_pos="right" textcol="none"> <label>Set Attributes PIX</label> <tip>Change the attributes and timestamps of selected files</tip> <icon1>#setattr</icon1> <function type="normal"> <instruction>SetAttr META gpsaltitude:757</instruction> <instruction>SetAttr META gpslatitude:50.123 </instruction> <instruction>SetAttr META gpslongitude:10.456</instruction> </function> </button>

However, gpslatitude doesn't seem to work. This is the file before:

and this after:

Is this a bug or am I doing anything wrong?

Any help appreciated!

Alexander

My System:
OS 6.1 (B:7601 P:2 T:1) SP 1.0 "Service Pack 1"
Directory Opus Pro 11.4 Build 5229 x64

That's a bug, which has been fixed for the next update. (Probably 11.4.4 beta.)

As a workaround, if you add "N" to the end of the string (indicating it's in the northern hemisphere) then it should work correctly. In the version with the fix, you won't need to do that anymore and your original code will work as well.

You can also speed things up by setting all the values at once, instead of updating the file three times:

SetAttr META gpsaltitude:757 gpslatitude:50.123N gpslongitude:10.456E

Leo, thank you very much for your speedy reply :thumbsup:

Alexander