Liquid Galaxy project
Adapt a script that converts a group of POIs into queries.txt in order to accept tours
The script that has to be adapted is this one: https://github.com/asherat/LG_Benchmarking/blob/master/Tools/kml2query.sh It converts from POIs to queries.txt using the following steps:
- On Google Earth, create a directory and add some POIs (using the yellow pin)
- Right-click on the directory and save the directory as a KMZ
- You can now close Google Earth
- Extract a file named doc.kml from the .KMZ, we only need this file
- Copy the doc.kml in the same path as the script
- Execute the script with 1 argument, which is the desired tour name (.\kml2query.sh MyCity)
In order to complete this task, you must:
- Create a tour in Google Earth (instead of a group of POIs inside a directory)
- Save the tour into a known path
- Decompress the resulting file and look where the POIs are stored (maybe kml2query procedure can give you a hint!)
- Using your new script to convert the POIs into queries.txt
The deliverable is a working script that does all the above.
Task tags
Students who completed this task
Shruti Singh, Omshi Samal