KMZ file upload Error

Completed

Comments

5 comments

  • DJI Developer Support
    May I kindly inquire if you could upload your KMZ file to our sample code?
    0
    Comment actions Permalink
  • Saviero Garcia

    I can't find any KMZ file in your sampel code. Please attach such file here, if possible, at your earliest convenience.

    0
    Comment actions Permalink
  • DJI Developer Support
    We kindly request you to transfer your KMZ file to the memory of the remote controller. Subsequently, please open our sample code, select the "waypoint mission" option, click on "KMZ Import," choose your KMZ file, and proceed by clicking on "Upload KMZ file." Kindly verify if the upload process is successful.
    0
    Comment actions Permalink
  • Saviero Garcia

    Due to developmental reasons, I am not able to execute your sample code on the RC. So, please i need to find a solution in my code. Here is code again:

    WaypointMissionManager.getInstance().init()

    val vv = WPMZManager.getInstance().checkValidation(kmzFile.absolutePath)
    WaypointMissionManager.getInstance().pushKMZFileToAircraft(kmzFile.absolutePath, callback)

    // kmzFile.absolutePath exists, and can be accessed by a file reader in Kotlin

    0
    Comment actions Permalink
  • DJI Developer Support
    It is possible that there is an issue with your KMZ file. Please check the format of the KMZ file.
    0
    Comment actions Permalink

Please sign in to leave a comment.