Skip to content

Writing Metadata From Metashape

Alex Birkett edited this page Oct 15, 2024 · 5 revisions

Image Data

Quick and easy way is to go to the .files folder for the model and navigate to \0\0\frame.zip\doc.xml

Open this up and this has all the image in the file listed with the basic parameters of the images such as:

  • Absolute Altitude
  • Flight Pitch Degree
  • Flight Roll Degree
  • Flight Yaw Degree
  • Gimbal Pitch Degree
  • Gimbal Roll Degree
  • Gimbal Yaw Degree
  • Relative Altitude
  • Exif/Aperture Value
  • Exif/Date Time
  • Exif/Date Time Original
  • Exif/Exposure Time
  • Exif/F Number
  • Exif/Focal Length
  • Exif/Focal Length In 35mm Film
  • Exif/GPS Altitude
  • Exif/GPS Latitude
  • Exif/GPS Longitude
  • Exif/ISO Speed Ratings
  • Exif/Make
  • Exif/Model
  • Exif/Orientation
  • Exif/Shutter Speed Value
  • Exif/Software
  • File/Image Height
  • File/Image Width
  • System/File Modify Date
  • System/File Size

This can then be mapped to a metadata list with an XLookup in excel.

Metadata Mapping Reference

This document provides a mapping between the metadata fields from cameras.txt and the corresponding fields in METADATA_FINAL_ALL_IMAGES.xml.

UAV Metadata Mapping:

Source Field Mapped Field in XML
DJI/GimbalPitchDegree GIMBLE_PITCH
DJI/GimbalYawDegree GIMBLE_YAW
DJI/GimbalRollDegree GIMBLE_ROLE
DJI/RelativeAltitude LOCATION_Z_RELATIVE
Exif/DateTimeOriginal DATE_DATETIMECAPTURE
Exif/FocalLength UAV_FOCALLENGTH
Exif/GPSLongitude LOCATION_X
Exif/GPSLatitude LOCATION_Y
Exif/GPSAltitude LOCATION_Z
DJI/FlightPitchDegree FLIGHT_PITCH
DJI/FlightRollDegree FLIGHT_ROLL
DJI/FlightYawDegree FLIGHT_YAW
Exif/Make UAV_MAKE
Exif/Model UAV_MODEL
Exif/FNumber FILE_FNUMBER
Exif/ISOSpeedRatings FILE_ISO
Exif/ExposureTime FILE_EXPOSURE
Clone this wiki locally