I am unable to import KML polygon layers I generated in QGIS in DJI Pilot 2 on my DJI remote. I get the following error:

Attempt to invoke interface method java.util.iterator java.util.List.iterator()

1 Answer 1


Based on this post, this solution works great:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
    <Style id="transBluePoly">
Copy here and remove this text            </coordinates>

To automate this process for regular workflows, I wrote this script which makes the process super fast for many KML files.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.