NOV
20
2008

Marble's Secrets IV: Run Marble, Run!

KDE 4.2 is in bug fixing mode and so is Marble. Time to have a look at things that got implemented right in time for Marble 0.7: Henry de Valence has been one of the most active Marble core developers during the last few months: He has implemented several exciting Marble features already.

For Marble 0.7 (KDE 4.2) he implemented MarbleRunners. This is a pretty nice feature, which is still a bit hidden, but that is probably going to change soon:

  1. Make sure you have internet -- Oh, ok, yes, I just wanted to make sure ...
  2. Start Marble (e.g. from KDE 4.2 Beta1 or trunk)
  3. Find the "Search" field and type in: Playmobil
  4. Wait for the results to arrive!

What happens is that on pressing the Enter key Marble will send the search query to several "service" threads in the background called "MarbleRunners". These threads will return the result as soon as it is available. In this case the OpenStreetMap-Runner has returned four matching results from the OpenStreetMap-Server!

Ok, let's try another one: Imagine, you are somewhere in Finland on holidays ("Tervetuloa!"), it snows and you feel really hungry. In this situation Marble can be a true life-saver ("Hyvää ruokahalua!"):

The source code for the OpenStreetMap-Runner is based on source code by Jens-Michael Hoffmann who also created the OpenStreetMap integration for Marble. Henry de Valence has taken it and created a Marble runner out of it. Additionally Henry has created a Coordinate-Runner:

Enter e.g. 46°14'00" N 06°03'00" E

or just:

46 14 00 N 06 03 00 E

and press the Enter key. The latter will almost immediately return a result from the GeoCoordinate-Runner and several results from the OpenStreetMap-Runner trailing in a few seconds afterwards:

The best thing is however that Henry has made a HOWTO for creating MarbleRunners. So now you can create your own MarbleRunner yourself! The example shows how easy it is! And the description ensures that you can do this even if you are a beginner.

Just go here to get the HOWTO and just look here to get instructions on how to compile Marble.

The best Runners that you'll come up with will get shipped with the next version of Marble (your chance to enter history)!

I could imagine lots of runners: What e.g. about a Wikipedia-Runner (we don't have that one yet, ...)? What ideas do you have? Please let us know or even better: send us your patch! We are reachable via marble-devel@kde.org. Or join us on IRC ( #kde-edu, Freenode: irc.kde.org )! Of course we also appreciate all kinds of patches that improve the current MarbleRunners as well!