[Marble-devel] Problems using Marble in a research project

Mirko Stanisak kde at stanisak.de
Tue Dec 23 00:31:04 CET 2008


Hi,

Am Montag, 22. Dezember 2008 02:37:03 schrieb Torsten Rahn:
> > > My current attempt of the map file is posted over at
> > >
> > > http://pastebin.com/m5d501105
>
> The approach that we are aiming for is this:
>
> In your dgml file you've probably noticed the layer called
>
> standardplaces
>
> In there you can see that the files
>
> cityplacemarks.kml
> baseplacemarks.kml
> elevplacemarks.kml
> otherplacemarks.kml
> boundaryplacemarks.kml
>
> should get loaded when displaying this map theme.

Yes I noticed those tags, and I also tried to load another kml file in this 
section - without success.

> Unfortunately the geodata-tags are only half-way through implemented though
> (and the standard placemarks currently get loaded hardcoded via a simple
> ugly hack). Actually quite a few things specified in the current dgml files
> don't work yet as intended but we are getting closer to completion.

ahh ok :-) That is good, as it means that I'm basically on the right way, 
isn't it?

> The good news is that it should take relatively little work to complete the
> geodata implementation so that you can create arbitrary layers that contain
> geodata tags that reference your own kml-files instead of the
> standardplacemarks.
>
> It looks like Patrick feels motivated to implement this during the next few
> days. However any help on this would certainly be appreciated.
>
> Eventually this would mean that you could associate each map theme with
> layers of KML files and display them automatically each time you open a map
> theme.
>
> Is that the solution you are after?

Yes, that is exactly what I tried to reach, excellent :-) It would be perfect 
if such a solution could be implemented.

> Alternatively you could of course create a render plugin where you display
> everything using GeoPainter. While this approach is much more flexible it
> of course would involve some coding.

Yes, I did so, but not by a plugin, but by subclassing MarbleWidget and 
implementing the customPaint(GeoPainter *) method. This was the easiest way 
for me, but lacks flexibility of course.

> Of course you can always also visit us at #kde-edu on irc.kde.org and ask
> questions.

Ok, thanks, I'll do so on further problems and questions.

> Regards,
>
> Torsten

I wish you all a merry christmas,

Mirko


More information about the Marble-devel mailing list