A .MRK file is a text file that a DJI RTK drone saves beside its photos, with one line for each photo. Each line records the moment the shutter fired, the position of the drone at that moment, how exact that position was, and the RTK status. Autel RTK drones write the same layout.
Where to find it
Each flight gets its own folder on the memory card. Next to the photos is a file whose name ends in Timestamp.MRK, such as 100_0001_Timestamp.MRK on a Phantom 4 RTK. The folder usually also holds the drone's raw satellite data, for PPK processing. Keep every file in the folder together.
One line, column by column
Here is a line from a Phantom 4 RTK flight in Perth, split into its parts:
| Value | Meaning |
|---|---|
| 2 | The photo number. Line 2 belongs to the photo whose name ends in 0002. |
| 199434.635126 | The time, in seconds since the start of the GPS week. |
| [2249] | The GPS week number. Week and seconds together give the date and time. |
| 36,N 47,E 185,V | The offset from the RTK antenna to the camera, in millimetres: north, east and down. |
| -31.99506358,Lat 115.88362909,Lon | Latitude and longitude in degrees. |
| 56.224,Ellh | Height above the ellipsoid in metres, not above sea level. |
| 0.009176, 0.009257, 0.017237 | The accuracy in metres: north, east and vertical. |
| 50,Q | The RTK status. |
The RTK status codes
- 50: fixed, a full RTK correction.
- 34: float, a partial correction.
- 16: single, no correction.
- 0: no position.
A drone flying with RTK switched off writes other codes, no valid time and zero accuracy. Such a file says nothing about RTK.
The time
The time is GPS time, which runs 18 seconds ahead of UTC. The photos record the drone's local clock instead, with no time zone, and only to the second. So the photo taken at 15:23:36 in Perth matches line 2 at 07:23:36.6 UTC: eight hours for the time zone, and the rest within the rounding.
What uses it
PPK software, such as Emlid Studio, reads the .MRK file to find the moment of each photo in the raw satellite data, corrects the position, and applies the antenna offset. Mapping software usually reads the positions inside the photos instead, which on an RTK flight are normally the same as the .MRK positions.
RTK Photo Check reads the file and shows every line on a map. How to check DJI RTK photos before mapping walks through a full check, and photos that do not match the .MRK file covers what to do when the counts differ.
Questions
Can I open a .MRK file myself?
Yes. It is plain text. Any text editor or spreadsheet opens it, with tabs between the columns.
Is the position that of the camera or the antenna?
The antenna. The offset columns give the distance to the camera at that moment, so that PPK software can move each position to the camera.
Why is the accuracy so small?
It is the drone's own estimate, one standard deviation, for a fixed solution. It does not include errors in the base station position or in the coordinate system.
Should I edit the file?
Only to remove the lines of deleted photos, and only in a copy. Changing any value would break the link with the raw satellite data.