GSoC/GCI Archive
Google Code-in 2013 KDE

Map Theme Housekeeping

completed by: Illya Kovalevskyy

mentors: Torsten Rahn, Dennis Nienhüser

Marble is a virtual globe and world atlas — your Swiss army knife for maps. Find your way and explore the world!

Marble provides a long list of additional map themes that can be installed as addons from within Marble. An overview of those map themes is available at This task is about performing various cleanup operations for them.

  • Ensure that all map themes for planets other than earth have a proper radius set in the .dgml file. See also this task.
  • For all historc map themes: Replace their -preview icon with the one from (they have been updated recently).
  • Write a script which performs the following operations on a given map theme archive:
    • Unpack the map archive contents
    • Remove temporary files in them (which end with ~). Hint: find /some/dir -name "*~" -delete
    • For all map themes: Run optipng on all .png files to reduce their size. Hint: find /some/dir -name "*.png" -exec optipng {} \;
    • Repack the map archive contents
  • Run the script on all map theme archives

Helpful links: