No Rating

WPML Release Notes

VersionRelease TimeModifyComment
v1.0.0(Current)2022-03-21officially released


1. The document version number is the same as the protocol version number. For the protocol version number, see the declaration of the "xmlns:wpml" attribute in each route file.

2. The version number follows the semantic versioning rules, and the format of the version number is in the form of major version number. minor version number. revision number.

  • Major version number: This version number is iterated over if an incompatible protocol modification occurs.
  • Minor version number: If a backward compatible functional addition is made, the version number will be iterated.
  • Revision number: If a backward compatibility issue has been fixed, this revision number will be iterated.


Waypoint flight function, as an important technology of drone automation operation scenarios, is one of the core functions that users and developers attach to the most attention. With the popularity of drone automation, route data has quickly become an important digital asset for users and developers. However, for a long time in the past, routes could only be edited and executed on a single device, and it was difficult to apply across devices and models; the route file format was not open or shared, making it difficult for users to independently complete secondary editing and business tuning work. In line with the vision of liberating repetitive productivity for the industry and users, leading the drone industry to a new era of automation, and promoting the assetization of route data, we officially released the route file format standard-WPML.

What's WPML

WPML is the abbreviation of WayPoint Markup Language, which is the Route File Format Standard. The WPML route file format standard is extended based on the definition of KML (Keyhole Markup Language). WPML route files follow KMZ filing requirements and all route files end with a “.kmz” suffix. WPML route file format standard, as the carrier of route digital assets, has the following advantages:

  • Open: WPML's definitions are shared publicly. Route files are archived using file packages, and paths are described in markup language, which is highly scalable. Users and developers can continue to add business data based on the open principle without restriction.
  • Easy to read: WPML uses the most basic XML markup language format and media file format to describe routes. Users and developers can read and write resources such as path definition and route media without relying on any parsing software.
  • Inheritance: WPML will continue to iterate as a route file format standard and maintain intergenerational compatibility according to protocol rules. Route files in the hands of users and developers can become digital assets, which can be directly applied and continuously inherited between different devices and models.

Based on the open principle of WPML, users and developers are welcome to put forward suggestions and suggestions for improvement. Let's transcend the future of drone automation applications together!

How to use WPML

WPML route files all end with a ".kmz" suffix and are essentially archive files packed in ZIP format. After decompression of a standard WPML route file, its file structure is as follows:

KMZ archive directory structure

The template.kml file is referred to as the "template file". Predefined templates provide a convenient means for users to edit and plan routes. For example, when surveying and mapping users use the mapping aerial template, they do not need to carefully describe the path of each route, but only need to define the surveying and mapping area and overlap rate, which can be generated by DJI Pilot 2, DJI Flighthub 2 or other software and finally provided to the drone. The path and action to execute.

And the waylines.wpml file is called the "execution file". The executive file defines clear drone flight and payload action instructions. These commands are generated by DJI Pilot 2, DJI Flighthub 2 or other software. These softwares read the template parameters in template.kml, combined with the calculation of the path generation algorithm, and finally generates the waylines.wpml file for execution.

The res resource folder contains auxiliary resources required for the route, such as reference target photos, etc.

The template.kml, waylines.wpml and res resource folders are all part of the route file format standard. template.kml defines business attributes, which are convenient for users to quickly adjust and edit; waylines.wpml defines execution details; res folder stores auxiliary resource files.


  1. Please follow this specification for the naming of each file or folder in the route file, otherwise the route file may fail to be read.
  2. The route name is the file name of the route file. For example, the route name of new_waypoints.kmz is new_waypoints.

Product Support

DroneFirmware Version
M300 RTKv04.00.00.21
M30 Seriesv00.04.0501

Existing route change

For the existing route files of the M300 RTK, you can upgrade to WPML route files by importing them into the new version of DJI Pilot 2 and saving them again.

Note: The route format conversion library is not yet available. Developers who need it can convert it based on DJI Pilot 2, or generate it based on the WPML route file format standard.