when geotagging an image Exiftool writes GPS data to both EXIF and XMP headers.
Now I've got some photos with GPS data only in their EXIF headers. So I would like to copy this data into the XMP part like Exiftool would do it when it would have been used for tagging.
exiftool "-XMP:all<EXIF:all" <file>
but it wrote invalid data (longitude was set to "east" instead of "west") and did not create all headers which were created by the geotagging feature.