GSoC/GCI Archive
Google Code-in 2012 KDE

Marble: KML Camera Handler and Writer

completed by: Mayank Madan

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

Write a handler and a writer for the KML Camera tag.

  • In src/lib/geodata/data, create a class GeoDataCamera which inherits the existing GeoDataAbstractView. It should have getters/setters for longitude, latitude, altitude, altitudeMode, heading, tilt and roll as shown in https://developers.google.com/kml/documentation/kmlreference#camera
  • In src/lib/geodata/handlers/kml, create a KmlCameraTagHandler class to parse the information and create/fill the GeoDataCamera. You need to adjust the existing KmlAltitudeTagHandler, KmlLatitudeTagHandler, KmlLongitudeTagHandler, KmlAltitudeModeTagHandler and create new KmlHeadingTagHandler, KmlTilTagHandler and KmlRollTagHandler classes.
  • In src/lib/geodata/writers/kml, create a KmlCameraTagWriter and have it write the information of a GeoDataCamera.

Further information: