As suggested by Robin, it looks like the value for the longitude is correctly written but the value in pyexiv2's internal cache is wrong.
I suspect the workaround can be simplified, re-creating the Image object shouldn't be necessary: calling readMetadata() should be enough.
As suggested by Robin, it looks like the value for the longitude is correctly written but the value in pyexiv2's internal cache is wrong.
I suspect the workaround can be simplified, re-creating the Image object shouldn't be necessary: calling readMetadata() should be enough.
Thanks for your thorough investigation Robin!