Location history from the Google profile

You can remember where an observation was made. Exactly! Even years later! Hmm…
Quelle? Hab ich vergessen.. Hm…
A helpful memory aid is the location history recorded by smartphones. This function has to be activated before it is allowed to – and can – work. By default, the function is switched off for privacy reasons.


The “spikes” from the central anchorage in the north-east of the bay of Ammoudia onto land are positioning errors.




As soon as a first location history (a “track”) exists in the Google Timeline, further waypoints can be added, e.g. the turning point and the observation points.

For direct geocoding of the pictures, it makes sense to specify a plausible path for all observations whose pictures are to be given geo-coordinates: e.g. the boat should not travel over land. To do this, individual outliers should be removed and corresponding observation locations created for all observations.

Once the observations for which pictures exist have correct locations and times, the day’s location history can be exported as a KML file. KML stands for Keyhole Markup Language (KML). It is not necessary to make the path completely correct – it is enough if the observation locations are as accurate as needed for the observation to be traceable. The rest of the path can be ignored.

The exported KML file is an XML document. XML has the great advantage of being very easy for humans to read:
<?xml version="1.0" encoding="UTF-8"?><kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2"><Document><name> Location history from 2018-07-20 to 2018-07-20 </name><open>1</open><description></description><StyleMap id="multiTrack"><Pair><key>normal</key><styleUrl>#multiTrack_n</styleUrl></Pair><Pair><key>highlight</key><styleUrl>#multiTrack_h</styleUrl></Pair></StyleMap><Style id="multiTrack_n"><IconStyle><Icon><href>https://earth.google.com/images/kml-icons/track-directional/track-0.png</href></Icon></IconStyle><LineStyle><color>99ffac59</color><width>6</width></LineStyle></Style><Style id="multiTrack_h"><IconStyle><scale>1.2</scale><Icon><href>https://earth.google.com/images/kml-icons/track-directional/track-0.png</href></Icon></IconStyle><LineStyle><color>99ffac59</color><width>8</width></LineStyle></Style><Placemark><name>Moving</name><address></address><ExtendedData><Data name="Email"><value>info@solarboot-projekte.de</value></Data><Data name="Category"><value>Moving</value></Data> ...................................
Humans benefit from formatting. An online tool provides it, e.g. https://www.freeformatter.com/xml-formatter.html
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2">
<Document>
<name>Location history from 2018-07-20 to 2018-07-20</name>
<open>1</open>
<description />
<StyleMap id="multiTrack">
<Pair>
<key>normal</key>
<styleUrl>#multiTrack_n</styleUrl>
</Pair>
<Pair>
<key>highlight</key>
<styleUrl>#multiTrack_h</styleUrl>
</Pair>
</StyleMap>
<Style id="multiTrack_n">
<IconStyle>
<Icon>
<href>https://earth.google.com/images/kml-icons/track-directional/track-0.png</href>
</Icon>
</IconStyle>
<LineStyle>
<color>99ffac59</color>
<width>6</width>
</LineStyle>
</Style>
<Style id="multiTrack_h">
<IconStyle>
<scale>1.2</scale>
<Icon>
<href>https://earth.google.com/images/kml-icons/track-directional/track-0.png</href>
</Icon>
</IconStyle>
<LineStyle>
<color>99ffac59</color>
<width>8</width>
</LineStyle>
</Style>
<Placemark>
<name>Moving</name>
<address />
<ExtendedData>
<Data name="Email">
<value>info@solarboot-projekte.de</value>
</Data>
<Data name="Category">
<value>Moving</value>
</Data>
<Data name="Distance">
<value>0</value>
</Data>
</ExtendedData>
<description>Moving from 2018-07-19T20:41:57.000Z to 2018-07-19T22:04:47.000Z. Distance 0m</description>
<LineString>
<altitudeMode>clampToGround</altitudeMode>
<extrude>1</extrude>
<tesselate>1</tesselate>
<coordinates>20.4781599,39.2390633,0 20.4781599,39.2390633,0</coordinates>
</LineString>
<TimeSpan>
<begin>2018-07-19T20:41:57.000Z</begin>
<end>2018-07-19T22:04:47.000Z</end>
</TimeSpan>
</Placemark>
Alternatively, we open the KML document with Google Earth Pro – after all, KML was developed for Google Earth!

We remove the part of the tour we do not need (swinging at anchor overnight and the passage to Preveza and Vonitsa in the afternoon):


Adobe Lightroom Classic cannot read the KML document, so it has to be converted. We use GPS Visualizer for this, which produces a GPX document for us. However, this seems to jumble the order of the points. Adobe Lightroom Classic can load the GPX document as a track log, but we cannot use it for the intended purpose: the timestamps have been removed. As a result, Adobe Lightroom can neither sort the GPS coordinates by time nor assign them to the pictures. The result is a spaghetti pattern.

<wpt lat="39.2303748" lon="20.4937865">
<name>° Libellen und Vogel</name>
<desc>from 2018-07-20T05:50:00.000Z to 2018-07-20T05:54:00.000Z. Distance 0m</desc>
</wpt>
<trk>
<name>Moving</name>
<desc>Moving from 2018-07-19T20:41:57.000Z to 2018-07-19T22:04:47.000Z. Distance 0m</desc>
<trkseg>
<trkpt lat="39.2390633" lon="20.4781599"></trkpt>
<trkpt lat="39.2390633" lon="20.4781599"></trkpt>
</trkseg>
</trk>
The excerpt shows that a formally valid GPX document was produced. However, since the timestamps <time> are missing from the waypoints <wpt> and tracks <trk>, the GPX document cannot be used for the intended purpose.