explaingit

djexit/dji_gpx_extractor

11PythonAudience · generalComplexity · 2/5LicenseSetup · moderate

TLDR

A Windows desktop tool that extracts the GPS flight path from DJI drone video files and saves it as a GPX file you can open in Google Earth or any mapping app.

Mindmap

mindmap
  root((dji gpx extractor))
    What it does
      Extract drone GPS data
      Export GPX tracks
      View flight paths
    Tech stack
      Python
      ExifTool
      PyInstaller
    Use cases
      Map DJI flight paths
      Upload to GPS Visualizer
      Open in Google Earth
    Features
      Multi-language UI
      Windows 7 compatible
      Remembers settings
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Extract the GPS flight path from a DJI drone video and open it in Google Earth to see the route on a map.

USE CASE 2

Upload your DJI drone's GPX track to GPS Visualizer or a mapping site to visualize and share your flight.

USE CASE 3

Build the tool from source as a standalone Windows EXE using PyInstaller for distribution without Python installed.

Tech stack

PythonExifToolPyInstaller

Getting it running

Difficulty · moderate Time to first run · 30min

Requires ExifTool to be downloaded and installed separately before the application will work.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

DJI GPX Extractor is a small Windows desktop tool that pulls GPS location data out of video files recorded by DJI drones and saves that data as a GPX file. A GPX file is a standard format for GPS tracks that can be opened in mapping tools, flight visualizers, and applications like Google Earth. DJI cameras embed telemetry data directly inside video files as they record. This tool reads that hidden data using ExifTool, a separate free utility that handles the actual extraction. You point the tool at a DJI MP4 or MOV file, choose where to save the output, and click Convert. The result is a GPX track you can upload to sites like GPS Visualizer or open in Google Earth Web to see the flight path on a map. The interface is a basic windowed application with support for English, Polish, German, and Ukrainian. It remembers the path to ExifTool and your language preference between sessions by writing a small config file to your Windows user data folder. The README also links to a few external tools for viewing DJI telemetry, including a dedicated SRT viewer for overlay data. For anyone who wants to build the tool from source rather than download a prebuilt executable, the project includes instructions for packaging it into a standalone Windows EXE using PyInstaller. The build is intentionally pinned to Python 3.8 to maintain compatibility with Windows 7, since newer Python versions dropped support for that operating system. The project is at version 0.8, released under the MIT license. ExifTool must be downloaded separately from its own website before the application will work.

Copy-paste prompts

Prompt 1
I have a DJI drone MP4 video file. Using dji_gpx_extractor, walk me through installing ExifTool and running the tool to get a GPX file I can open in Google Earth.
Prompt 2
Show me how to package the dji_gpx_extractor Python project into a standalone Windows EXE using PyInstaller so I can share it without requiring Python.
Prompt 3
I want to add support for a new language to the dji_gpx_extractor interface. Show me how the localization config works and how to add a new language.
Prompt 4
How do I open the GPX output from dji_gpx_extractor in Google Earth Web to see my drone flight path on a map?
Open on GitHub → Explain another repo

← djexit on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.