# How to update Images with custom XMP data to replicate Phantom 4 Pro RTK images ?

**URL:** <https://community.pix4d.com/t/how-to-update-images-with-custom-xmp-data-to-replicate-phantom-4-pro-rtk-images/7901>\
**Category:** PIX4Dmapper Questions/Troubleshooting\
**Created:** [January 27, 2019, 11:00pm UTC](https://community.pix4d.com/t/how-to-update-images-with-custom-xmp-data-to-replicate-phantom-4-pro-rtk-images/7901 "2019-01-27T23:00:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tim\_Durham](https://sea2.discourse-cdn.com/pix4d/user_avatar/community.pix4d.com/tim_durham/32/416_2.png) [@Tim\_Durham](https://community.pix4d.com/u/Tim_Durham)\
**Post date:** [January 27, 2019, 11:00pm UTC](https://community.pix4d.com/t/how-to-update-images-with-custom-xmp-data-to-replicate-phantom-4-pro-rtk-images/7901/1 "2019-01-27T23:00:41Z")

</div>

The new P4 Pro RTK adds the following tags to the metadata.  
(With sample data from an RTK photo)

Rtk Flag&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 16  
Rtk Std Lon&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 2.70368  
Rtk Std Lat&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 1.53912  
Rtk Std Hgt&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 3.68277

I have an external Emlid Reach M+ GPS on my regular phantom 4 Pro.&nbsp; I am post processing the flight data and events in EZsurv.&nbsp; I export the data shown above for all images into a CSV file and&nbsp; I need to import that into the metadata of the images.&nbsp; &nbsp;Then they will be processed just like the P4P RTK images.

My problem has been finding an EXIF editor that I can figure out to import these XMP tags into the images.&nbsp; My CSV file will contain

Image File name  
Post Processed Lat  
Post Processed Lon  
Post Processed Alt

Lat Standard Deviation  
Lon Standard Deviation  
Alt Standard Deviation

For the updated GPS data, I will simply overwrite the coordinates currently in the EXIF data.&nbsp; Then I need to add the new XMP tag data for the Standard Deviation.

Any help on the best program to use and how to do it will be appreciated.&nbsp; I have played around with multiple exif editors and so far I have not found one where I can successfully add the custom data.&nbsp; &nbsp; There was a thread on the agisoft forum that is similar so if I find a solution from there I will just post back here with an update.&nbsp;&nbsp;

Thanks!
