Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KML overlay fail #3443

Open
LupusTheCanine opened this issue Nov 11, 2024 · 4 comments
Open

KML overlay fail #3443

LupusTheCanine opened this issue Nov 11, 2024 · 4 comments

Comments

@LupusTheCanine
Copy link

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)

@EosBandi
Copy link
Collaborator

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.

@LupusTheCanine
Copy link
Author

LupusTheCanine commented Nov 11, 2024

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.

@EosBandi
Copy link
Collaborator

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...

@LupusTheCanine
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants