GSoC/GCI Archive
Google Code-in 2012 KDE

Marble: Faint big and small northern constellations

completed by: Sushain Cherivirala

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 (http://marble.kde.org/sources.php will tell you how) and open the file

marble/data/stars/constellations.dat

We want to add the following ones:

  • Delphinus ( with exactly these constellation lines: http://en.wikipedia.org/wiki/File:Delphinus_IAU.svg)
  • Sagitta ( with exactly these constellation lines: http://en.wikipedia.org/wiki/File:Sagitta_IAU.svg )
And then
  • Ophiuchus (greek star designations can be found at http://en.wikipedia.org/wiki/File:Ophiuchus_IAU.svg BUT the constellation lines should be like "Schlangenträger" in http://www.astro-mg.de/index.php?option=com_docman&task=doc_download&gid=1&Itemid=36
  • Serpens (greek star designations can be found in http://en.wikipedia.org/wiki/Serpens BUT the constellation lines should be like "Schlange" in http://www.astro-mg.de/index.php?option=com_docman&task=doc_download&gid=1&Itemid=36
  • Hydra: with exactly these constellation lines: http://upload.wikimedia.org/wikipedia/commons/7/7e/Hydra_IAU.svg - only modifications being: Omit "Xi  Hyd" and make "Pi  Hyd" the first or last star, don't let the linestring go across the constellation crater, Leave out "Rho Hyd" and start or end directly at "Eps Hyd".
  • Triangulum ( with exactly these constellation lines: http://de.wikipedia.org/w/index.php?title=Datei:Triangulum_constellation_map.png&filetimestamp=20041212183203 )

 

Creating the constellation lines works like this: you look up the stars one by one that are part of the lines: In the constellation Centaurus ( http://de.wikipedia.org/w/index.php?title=Datei:Centaurus_constellation_map.png&filetimestamp=20041212180049, done in a previous task)  you could start of with the Star named Toliman which is "Alpha Centauri" or short "Alp Cen". Look up "Alp Cen" in the file

marble/tools/stars/catalog.dat

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. All stars are designated after the greek alphabet:

http://en.wikipedia.org/wiki/Greek_alphabet

You can find out more about the designation at:

http://en.wikipedia.org/wiki/Bayer_designation