How to fly a grid mapping mission with a DJI Mini 5 Pro in DJI Fly

AnleggTech AS ·

DJI Fly on the Mini 5 Pro has waypoint missions, but no grid generator and no overlap calculator. Placing every waypoint of a mapping grid by hand isn’t realistic, and at the time of writing DJI has not released a Mobile SDK for the Mini 5 Pro that other flight apps could use.

The workaround is to build the grid as a KMZ file on a computer and load it into DJI Fly’s waypoint list on the remote controller. This guide walks through the whole process with Mini5Planner, a free planner for Mac and Windows, from drawing the area to checking the overlap after the flight.

What you need

  • A DJI Mini 5 Pro. The steps are the same for the other drones Mini5Planner supports, but only the Mini 5 Pro profile has been measured in the field.
  • A DJI RC 2 remote controller. The transfer steps below are written for it.
  • A USB-C data cable.
  • A Mac or Windows PC with Mini5Planner (free). On a Mac you also need OpenMTP (free), because Finder can’t read the controller.
  • Photogrammetry software for the photos afterwards, such as WebODM.

Step 1: Draw the area

Open Mini5Planner and find your site on the map. Address search covers Norway; elsewhere you pan and zoom on the map or satellite layer. Draw the area with the polygon tool and click the first point to close it. The area must be between 100 m² and 5 km². Split bigger sites into several missions.

Then drag the H marker to where the drone will actually take off. Battery use and terrain following are calculated from that point.

Step 2: Pick a template and adjust it

The templates set altitude, overlap, speed, gimbal angle and grid type for typical jobs:

TemplateAltitudeFront / side overlapGimbalGrid
Small site (0.1–0.5 ha)60 m80% / 70%−90°Single grid
Excavation site50 m85% / 75%−75°Double grid (crosshatch)
Gravel pit100 m75% / 65%−90°Single grid
Building facade30 m80% / 70%−45°Single grid
Road corridor80 m80% / 60%−90°Single grid

Adjust altitude, front and side overlap, flight direction and gimbal angle in the side panel. The statistics update as you go: GSD, footprint, number of photos, flight time, distance and battery use.

Keep an eye on the speed. If the camera can’t keep up at the speed you asked for, Mini5Planner lowers it and tells you why. On the Mini 5 Pro a 50 MP photo takes about 5 seconds to save, and a route that ignores this loses photos without any warning.

For volumes and 3D models, fly a crosshatch and an oblique pass. In our own volume test without ground control points, straight-down photos alone gave volumes 3.4–5.5% too high, because the model came out stretched in height. Adding a crosshatch and photos at −45° brought the volume within ±1%.

Step 3: Export the KMZ

Click Save KMZ and save the file on your computer. It uses DJI’s WPML 1.0.2 format, which DJI Fly reads.

With Pro, two more options come into play here. Terrain following needs a confirmed takeoff point and finished elevation data before you can export. Battery split saves one KMZ per battery when the mission is too long for one.

Step 4: Copy the KMZ to the DJI RC 2

DJI Fly only lists waypoint missions it has created itself. So you first create a placeholder mission on the controller, then swap its file for yours. Mini5Planner’s transfer guide (Transfer to DJI RC 2, next to the export buttons) has the same steps as a checklist:

  1. Power on the DJI RC 2 and the drone, and wait until the drone has GPS. Waypoint mode in DJI Fly needs a GPS fix.
  2. Open DJI Fly on the controller, create a placeholder waypoint mission with 2–3 waypoints and save it. Create one placeholder per route (for a split mission: one per part).
  3. Connect the controller to your computer with a USB-C data cable.
  4. Swipe down on the controller and select “File Transfer”.
  5. On Windows, open File Explorer. On a Mac, open OpenMTP (free, from openmtp.ganeshrvel.com). The DJI RC 2 shows up as a device.
  6. Go to the waypoint folder: Internal Shared Storage > Android > data > dji.go.v5 > files > waypoint
  7. Open the folder with the most recent modified date. That is your placeholder mission. Inside is one .kmz file with the same name as the folder, a long code.
  8. Copy that file name and paste it into the name field in Mini5Planner’s transfer guide. The app then saves your route with exactly that name. If you rename the file yourself, make sure Windows doesn’t turn it into “.kmz.kmz”.
  9. Delete the original .kmz file in the folder and copy yours in.
  10. Disconnect the cable, open the mission in DJI Fly and fly it. Don’t edit the mission or create new missions before you have flown, or DJI Fly overwrites the files.

Good to know

  • Missions are stored on the remote controller, not on the drone’s memory card.
  • DJI Fly rewrites imported missions into its own compact format, so the file gets much smaller once DJI Fly has opened it. In our tests the waypoints were intact.
  • After a firmware update our waypoint list looked empty and DJI Fly was logged out. The files were still there, and the missions came back when we logged in to the DJI account again. Log in and check before you create new placeholder missions.

Step 5: Fly the mission

Open the mission in DJI Fly, check the route on the map and take off from the spot you marked with H in Mini5Planner. Keep the drone in sight and follow the drone rules where you fly.

  • Set the end-of-mission action in DJI Fly. DJI Fly uses its own setting and ignores the one in the file. On one of our flights the drone hovered over the last waypoint and kept taking photos until we took over.
  • Fix the shutter speed in low light. In Pro mode with ISO and shutter on Auto, our Mini 5 Pro chose 1/8–1/10 s at ISO 100 at dusk. A fixed 1/400 s with ISO on Auto gave about seven times sharper photos.
  • Plan for the battery. For large areas, use battery split (Pro) or draw several smaller areas so each flight fits on one battery.

Step 6: Check the overlap before you leave

If you have a laptop with you, copy the photos over and open Calibrate / check flight in Mini5Planner. Choose the photo folder. The app only reads the metadata, and the photos are not changed or sent anywhere. It shows:

  • the number of photos against the planned route, and the distance between photos
  • the actual photo interval
  • front overlap for every pair of photos (median and lowest), and how many pairs are more than 5 percentage points below your target
  • the weakest spots, marked on the map

Overlap is calculated from the height above the takeoff point. Where the ground rises above the takeoff point, the real overlap is slightly lower. If you see weak spots, fly that part again while you are still on site.

If there are fewer photos than planned and they came at a steady interval of a few seconds, the camera was the bottleneck. You can save the measured interval as the camera limit for that drone, so the next route is planned at a speed the camera can keep up with.

Step 7: Process the photos

Mini5Planner plans the flight; it doesn’t stitch photos. Load them into photogrammetry software such as WebODM (ODM) to make an orthophoto, point cloud or 3D model. If you would rather not run that yourself, we can process them in Kubatur for you.

Mini5Planner is an independent product by AnleggTech AS. It is not affiliated with, endorsed by or sponsored by DJI. DJI, DJI Fly, DJI Mini and Mavic are trademarks of SZ DJI Technology Co., Ltd.