GSoC/GCI Archive
Google Code-in 2011 KDE

Make Marble display maps of other moons by adding a "radius" attribute to the DGML target tag.

completed by: Gábor Péterffy

mentors: Earthwings, Torsten Rahn

Marble can display maps of other planets. Currently the celestial bodies which are properly supported are hardcoded inside Marble's planet.cpp file. However inside the dgml file the user can specify all kinds of different target strings for arbitrary planets or moons. Thereby new celestial bodies can be introduced just by entering a different id for the target tag. The biggest problem with this approach is that there is no way to specify the radius for the new planet/moon.

This task is about adding a radius attribute to the DGML target tag-handler. Once this is done the value needs to be somehow propagated at runtime to Marble's planet class object.

There is a bug which describes the issue more in detail:

"User defined Body parameters (e.g. Saturn's Moon)":

Expected Result: Bug 254286 is fixed.