GSoC/GCI Archive
Google Code-in 2012 KDE

Marble: Add more DSOs and Constellations to the Stars Plugin

completed by: Timothy Lanzi

mentors: Torsten Rahn, René Küttner, Dennis Nienhüser

During Google Code-In the Stars Plugin has been revamped and constellation lines as well as Deep Sky objects have been added.


This task is about adding more objects. Check out Marble's source code ( will tell you how) and open the file


Then add Rectaszension and Declination for the following objects:

  • Large Magellanic Cloud (
  • Small Magellanic Cloud (
  • Double Cluster (
  • Beehive Cluster (


Please also add the lines for some constellations to the file


namely the following ones:

  • Centaurus ( with exactly these constellation lines: )
  • Triangulum Australe ( with exactly these constellation lines: )
  • Grus ( with exactly these constellation lines: )
  • Columba ( with exactly these constellation lines: )

Creating the constellation lines works like this: you look up the stars one by one that are part of the lines: In Centaurus you could start of with the Star named Toliman which is "Alpha Centauri" or short "Alp Cen". Look up "Alp Cen" in the file


After some search it turns out there is no "Alp Cen" but "Alp1Cen" and "Alp2Cen" because Alpha Centauri is a double star. We take the brighter component (with the lower magnitude number which is +0.71 in this case). And we identify the first number in the catalog line which is "5459". The number "5459" is the number we need to enter into the constellations.dat filel Then we continue to do the same with the next star in the line: "Beta Centauri" ("Bet Cen") and find that the number at the start of the catalog line is 5267. etc. An index number "-1" is used to start a new line string.