Liquid Galaxy project

Script that calculates a tour duration

Liquid Galaxy currently doesn't offer a functionality that calculates the duration of a tour but this feature could be useful to programatically relaunch tour after its duration has been reached. The aim of this task is, given a KML file containint a tour specification (for further information take a look at https://developers.google.com/kml/documentation/touring), develop a bash script that calculate its duration. This can be achieved by summing all the durations cointained in this tour. These durations can be the time spend flying from one POI to another, the waiting time watching one POI and even the duration of the orbit around one POI. By summing all of them, the global duration can be obtained.

The delivered script must take a KML file as input and must output the global duration in format SS.mmm. Send it to lgcodein@gmail.com describing the experience, possible errors, bugs, etc, and a txt file with all the needed code

Task tags

  • bash script
  • kml
  • tours

Students who completed this task

Shruti Singh, Omshi Samal

Task type

  • code Code
close

2017