MissionPlanner icon indicating copy to clipboard operation
MissionPlanner copied to clipboard

KML overlay fail

Open LupusTheCanine opened this issue 1 year ago • 10 comments

Issue details

Mission planners fails to load KML as overlay (Map Tools -> KML OVerlay) image

Version

Up to 1.3.82 build 1.3.9077.8924 on Windows

Platform

[ X ] All [ ] AntennaTracker [ ] Copter [ ] Plane [ ] Rover [ ] Sub

Logs

Trees.kml.txt (remove .txt extension)

LupusTheCanine avatar Nov 11 '24 22:11 LupusTheCanine

MP is quite picky for correctly formatted and simple KLM files.

Test: Open Google Earth Pro, draw a polygon and save it as a KML. You can load it nicely into MP.

It is very likely that your KML is malformed, or contains elements that is not understand by MP.

EosBandi avatar Nov 11 '24 22:11 EosBandi

MP is quite picky for correctly formatted and simple KLM files.

Test: Open Google Earth Pro, draw a polygon and save it as a KML. You can load it nicely into MP.

It is very likely that your KML is malformed, or contains elements that is not understand by MP.

Apparently Google Earth Pro produces malformed KMLs by skipping default values at least for colors and line widths. It would be nice if Mission Planner handled default color and line widths.

Support for polygon fill would be nice too.

LupusTheCanine avatar Nov 11 '24 22:11 LupusTheCanine

fixed in https://github.com/ArduPilot/MissionPlanner/pull/3444

Changing polygon fill handling behavior could be an issue for those who get used to that all polygon fills are rendered transparent...

EosBandi avatar Nov 11 '24 23:11 EosBandi

fixed in #3444

Changing polygon fill handling behavior could be an issue for those who get used to that all polygon fills are rendered transparent...

In my test there was no fill at all. (I tried 40% in Google Earth Pro). I remember polygons filled white (as were all objects in the given KML), wasn't fun.

LupusTheCanine avatar Nov 12 '24 09:11 LupusTheCanine

Captura de tela 2025-01-07 184349 Same problem here. Any solution to fix this issue with the custom project filter?

danilopmaciel avatar Jan 07 '25 22:01 danilopmaciel

It would be really great if MP was able to handle more features in the KML overlay. This is such a valuable tool for more complicated missions where there might be no go areas, area divisions based on altitude bands or time, points of interest, etc. Even just being able to display different features in different colours, and maybe different line widths, would be an awesome addition. Polygon shading at different opacity etc might also be able to be added later. Thank you

jagrandle avatar Jan 08 '25 01:01 jagrandle

Image

Same error here. Old versios of MP open this .kml normaly, the last and the beta cant`t open some .kml files.

Example of file: kml.zip

vinnyferraribr avatar Mar 13 '25 15:03 vinnyferraribr

Issue details

Mission planners fails to load KML as overlay (Map Tools -> KML OVerlay) image

Version

Up to 1.3.82 build 1.3.9077.8924 on Windows

Platform

[ X ] All [ ] AntennaTracker [ ] Copter [ ] Plane [ ] Rover [ ] Sub

Logs

Trees.kml.txt (remove .txt extension)

Did you solve that?

I was paying attention, why are you looking for drive D:?

Image

Could this be linked to the error?

vinnyferraribr avatar Mar 28 '25 13:03 vinnyferraribr

Also experiencing this on the latest MissionPlanner version. Version 1.3.81 works fine

afonsoVale avatar Apr 26 '25 19:04 afonsoVale

Can confirm the issue is still present in version 1.3.83

afonsoVale avatar Sep 17 '25 08:09 afonsoVale