Skip to main content
Solved

DJI metadata from images

  • November 8, 2021
  • 6 replies
  • 541 views

We have photos in jpg format that were taken with a DJI drone. Usually all EXIF data are easily accessible using the JPEG reader, but not the DJI custom metadata. We need to access the data that shows up when opening the image in a text editor:

 

imageI tried reading the files with a text reader, but that gives several thousand lines of text and no way of seeing which line of text is connected to which image. This should be a common problem for everyone with a DJI drone? Any suggestions for now and maybe a DJI photo reader or DJI EXIF reader in the future?

Best answer by redgeographics

If it's one image with its corresponding set of metadata in a single .jpg file you can read the files using both a jpg and a txt reader and match them up using the fme_basename attribute

 

It looks like it's XML so if you're able to weed out the non-xml binary data FME should be able to make sense of it.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

6 replies

redgeographics
Celebrity
Forum|alt.badge.img+59
  • Celebrity
  • 3700 replies
  • Best Answer
  • November 8, 2021

If it's one image with its corresponding set of metadata in a single .jpg file you can read the files using both a jpg and a txt reader and match them up using the fme_basename attribute

 

It looks like it's XML so if you're able to weed out the non-xml binary data FME should be able to make sense of it.


  • Author
  • 15 replies
  • November 8, 2021

Thank you! It was a pretty basic problem with me not exposing fme_basename in my reader. Kind of awkward to miss it, but now everything works great.


redgeographics
Celebrity
Forum|alt.badge.img+59
  • Celebrity
  • 3700 replies
  • November 8, 2021

Thank you! It was a pretty basic problem with me not exposing fme_basename in my reader. Kind of awkward to miss it, but now everything works great.

No worries, it happens to all of us from time to time 😉


danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2077 replies
  • November 8, 2021

No worries, it happens to all of us from time to time 😉

Nice job!


mark2atsafe
Safer
Forum|alt.badge.img+56
  • Safer
  • 2554 replies
  • November 12, 2021

I think a DJI metadata reader would be useful too. I've made the suggestion to our product managers/developers. I hope they will choose to implement it. Look out for issue reference FMEENGINE-71267


jovitaatsafe
Safer
Forum|alt.badge.img+11
  • Safer
  • 635 replies
  • July 28, 2023

Hi folks! I'm happy to share an update that the enhancement filed by @mark2atsafe​ to support reading custom metadata in the JPEG reader has been implemented for FME 2023.1, and it's available in the betas now for testing.

 

You can find our beta version here: https://engage.safe.com/support/downloads/#beta