Google Latitude location history KML export is very interesting. GPS track log is easy to handle geotagging photos than Google Latitude KML data file. I wrote a perl program to convert from KML to GPX track log.
Install DateTime::Format::HTTP
$ cpanm DateTime::Format::HTTP
--> Working on DateTime::Format::HTTP
Fetching http://www.cpan.org/authors/id/C/CK/CKRAS/DateTime-Format-HTTP-0.40.tar.gz ... OK
Configuring DateTime-Format-HTTP-0.40 ... OK
Building and testing DateTime-Format-HTTP-0.40 ... OK
Successfully installed DateTime-Format-HTTP-0.40
1 distribution installed
Convert KML to GPX track log
$ ./latitude_kml2gpx.pl *.kml
input: history-05-19-2013.kml output: history-05-19-2013.gpx
input: history-05-20-2013.kml output: history-05-20-2013.gpx
input: history-05-21-2013.kml output: history-05-21-2013.gpx
input: history-05-22-2013.kml output: history-05-22-2013.gpx
$
- Rewrite perl script
- ONO Hiroki, onohiroki@cup.com