Registered Member
|
Hi all,
I have a kml file with geo referenced raster images in it. When I load it into marble, there's no bug or anything but, images described in the kml file are not loaded. I tested the same file with google Earth, and it worked well. Here's a sample of the kml file
Doeas anyone know why my images are not loaded? Thanks in advance |
KDE Developer
|
Marble reads the .kml only partially, in particular it ignores the GroundOverlay completely as there is no handler/support implemented for that yet.
A useful way to debug this is to start marble with the --enableFileView command line parameter. It will show an additional tab 'File View' on the left where you can examine the structure of a .kml file after loading it. For your .kml you'll just get the folder named 304_B, but no subelements. |
Registered Member
|
Ok thanks a lot!
Do you know if there's any plan to take it into account in a near future? I also would like to know if there's a way to load a custom icon for a placemark defined in a kml file? Thanks! |
KDE Developer
|
I played with it a bit, it's not too hard to implement at least for the basic stuff. Here's a screenshot of your .kml with the .pngs replaced by some marble logo:
I'll commit some of the code now, but not everything. In particular we need support for different projections (currently images are painted rectangular even in Globe projection) and I need to support more tags (e.g. color, drawOrder, rotation). |
Registered Member
|
Perfect, that's what I need for the moment, I work in a plane projection.
Thanks. |
Registered Member
|
Hi Team,
I have experienced the same while I was trying to read a kml file including png links, just wondering to know if you can provide some advise in how to read kml files including png links, it seems Earthwings did some effort and got very good results reading kml with <GroundOverlay> clause.Appreciate so much if you can share some tips to address this. Thanks |
Registered Member
|
Thanks for the feedback. As mentioned by Dennis it is already resolved on latest source code. So it is working ok.
thanks!!! |
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell