DJI Mavic, Air and Mini Drones
Friendly, Helpful & Knowledgeable Community
Join Us Now

Dat to KML software

Ce226uk

Member
Joined
Apr 29, 2025
Messages
11
Reactions
0
Age
58
Location
UK
Hi all.
Is there any software that can convert my drone DAT file to KML?
I dont want to use an online conversion tool, i much prefer to install a windows program.
 
Airdata.com will do it for you with a membership from the .txt file flight log recorded by the Fly app on your device. No one except DJI can do it from the encrypted .DAT file on your drone.
 
Airdata.com will do it for you with a membership from the .txt file flight log recorded by the Fly app on your device. No one except DJI can do it from the encrypted .DAT file on your drone.
GadgetGuy.
Thank you, i will look into it.
 
@Ce226uk
I assume you are asking about the .DAT for the Mini2? Unfortunately, both the the onboard .DAT and the controller .DAT are encrypted. So DatCon is unable to process these .DATs.
 
Hi all.
Is there any software that can convert my drone DAT file to KML?
I dont want to use an online conversion tool, i much prefer to install a windows program.
If installed on Widows is a requirement try
FlightReader
It accepts .txt logs
 
Hi all.
Is there any software that can convert my drone DAT file to KML?
I dont want to use an online conversion tool, i much prefer to install a windows program.
i’m interested in what you would do with a KML file like that? I am currently making a program that will grab the coordinates and other image data off of my M2P photos and will create a cvs file for me to refly the course and retake the same images automatically in Litchi Virtual Mission. I had to manually fly my last image taking misssion in a canyon due to wanting to be sure to get good coverage and to avoid the walls, and think I can set it up to run autonomously by copying the image locations as waypoints.
 
i’m interested in what you would do with a KML file like that? I am currently making a program that will grab the coordinates and other image data off of my M2P photos and will create a cvs file for me to refly the course and retake the same images automatically in Litchi Virtual Mission. I had to manually fly my last image taking mission in a canyon due to wanting to be sure to get good coverage and to avoid the walls, and think I can set it up to run autonomously by copying the image locations as waypoints.
Cool idea! I may try that with Waypoints on a newer aircraft where Litchi wouldn’t be necessary! DJI always recommends a manual recording of Waypoints first, rather than relying upon creating them with the inevitable imprecision of the crappy Android maps on their screen controllers. Create them once onsite and then replay them remotely and conveniently from a distance. I like it!
 
  • Like
Reactions: AMann
Cool idea! I may try that with Waypoints on a newer aircraft where Litchi wouldn’t be necessary! DJI always recommends a manual recording of Waypoints first, rather than relying upon creating them with the inevitable imprecision of the crappy Android maps on their screen controllers. Create them once onsite and then replay them remotely and conveniently from a distance. I like it!
Thanks, I’ll share the .exe file (and Python code if anyone wants it) once I debug and test it. Right now it does read the GPS coordinates from the photos in a directory and makes a cvs text file out with them, but there’s a lot of other flight parameters for Litchi format I have to code in including ordering them correctly to make a efficient flight route between the photo points.

Which reminds me, there are some limitations to doing a straight route between photo points, such as if you go around an obstacle to take photos, my straight line procedure between them is going to wreck your drone ! I know accessing the flight path data file on the drone would be optimal, but I’m just trying to keep this simple for now. 🙂
 
Last edited:
  • Like
Reactions: GadgetGuy
i’m interested in what you would do with a KML file like that? I am currently making a program that will grab the coordinates and other image data off of my M2P photos and will create a cvs file for me to refly the course and retake the same images automatically in Litchi Virtual Mission.
While this is an interesting and worthwhile pursuit, the ability to do this already exists in one of my converters.

The GPS coordinates, height, yaw, and gimbal pitch angle are also found in the flight log along with either a 0 (zero) or 1 (one) in the "isPhoto" column of the data. Using the flight log allows you to parse one file (instead of a directory of photos) to obtain the same data.

If you sync your logs to AirData, it is trivial to download a CSV (not cvs) version of your log then use that as input to my "AirData to Litchi" converter. CSV files from PhantomHelp and Litchi are also supported.


Then you would select the "Photos" option:
Capture.PNG

If desired, the resulting Litchi CSV file can be converted to a KMZ file for newer DJI drones. I'm not suggesting that you don't create a utility to ready the XMP data from photos. I once considered doing the same thing. However, parsing the same data from a single text file is easier than assembling a series of much larger image files and can be provided via a web utility.
 
  • Like
Reactions: AMann
While this is an interesting and worthwhile pursuit, the ability to do this already exists in one of my converters.

The GPS coordinates, height, yaw, and gimbal pitch angle are also found in the flight log along with either a 0 (zero) or 1 (one) in the "isPhoto" column of the data. Using the flight log allows you to parse one file (instead of a directory of photos) to obtain the same data.

If you sync your logs to AirData, it is trivial to download a CSV (not cvs) version of your log then use that as input to my "AirData to Litchi" converter. CSV files from PhantomHelp and Litchi are also supported.


Then you would select the "Photos" option:
View attachment 185907

If desired, the resulting Litchi CSV file can be converted to a KMZ file for newer DJI drones. I'm not suggesting that you don't create a utility to ready the XMP data from photos. I once considered doing the same thing. However, parsing the same data from a single text file is easier than assembling a series of much larger image files and can be provided via a web utility.
Now I’m totally convinced that whatever idea someone has, someone else has already put it out there! This is a lot better than what I was thinking of doing, conserving the flight path between the photo points is one of the issues I was concerned about, especially if I fly around an obstacle to get to the second point. The way I was going to do it, a drone would’ve flown straight into the obstacle. Thank you for your reply here, I’ll have to check out your waypoint tool!

…By the way, my confusion about CSV versus CVS has to do with the fact that we’ve been having to go to the drugstore a whole lot lately and it’s just stuck there in my mind! 🤣
 
  • Like
Reactions: DJ Wes
I don't want to discourage you from writing the software you proposed. There may be some who, for whatever reason, do not have easy access to their log files. Your solution might be what they need.
 
  • Like
Reactions: AMann

DJI Drone Deals

New Threads

Members online

Forum statistics

Threads
138,911
Messages
1,642,446
Members
167,262
Latest member
gray567
Want to Remove this Ad? Simply login or create a free account