<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Photography on Stefano Chiodino</title>
    <link>https://stefano.chiodino.uk/tags/photography/</link>
    <description>Recent content in Photography on Stefano Chiodino</description>
    <generator>Hugo -- 0.147.7</generator>
    <language>en</language>
    <lastBuildDate>Tue, 19 Apr 2022 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://stefano.chiodino.uk/tags/photography/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Geotag photos with GPS coordinate from Google Maps location history</title>
      <link>https://stefano.chiodino.uk/posts/geotag-photos-with-gps-coordinate-from-google-maps-location-history/</link>
      <pubDate>Tue, 19 Apr 2022 00:00:00 +0000</pubDate>
      <guid>https://stefano.chiodino.uk/posts/geotag-photos-with-gps-coordinate-from-google-maps-location-history/</guid>
      <description>&lt;p&gt;Do you want to add geotagging (latitude and longitude coordinates) to your photos?&lt;/p&gt;
&lt;p&gt;This is particularly useful if you use DSLR or mirrorless cameras that often lack this feature.&lt;/p&gt;
&lt;p&gt;All you need for this is to have location history enabled in google maps. This process will add a location to a photo based on where your phone reported you where when the photo was taken.&lt;/p&gt;
&lt;p&gt;Go to &lt;a href=&#34;https://timeline.google.com/maps/timeline&#34; title=&#34;your timeline&#34;&gt;your timeline&lt;/a&gt;. and download each day you want to use using the cog at the bottom right&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>Do you want to add geotagging (latitude and longitude coordinates) to your photos?</p>
<p>This is particularly useful if you use DSLR or mirrorless cameras that often lack this feature.</p>
<p>All you need for this is to have location history enabled in google maps. This process will add a location to a photo based on where your phone reported you where when the photo was taken.</p>
<p>Go to <a href="https://timeline.google.com/maps/timeline" title="your timeline">your timeline</a>. and download each day you want to use using the cog at the bottom right</p>
<p>Put the photos to tag and the KML activity files in the same folder, and for each run</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">exiftool -overwrite_original -geotag act_ity_file.kml .
</span></span></code></pre></div><p>If you receive a warning like</p>
<pre tabindex="0"><code>Warning: No writable tags set from ./2022-05-08 13.33.27.jpg
Warning: Time is too far from nearest GPS fix in File:Geotime (ValueConvInv) - ./2022-05-08 13.33.37.jpg
</code></pre><p>This means that there are no GPS points within the default 30 minutes of the photo. To extend this time you can use the <code>-api</code> flag like <code>-api GeoMaxIntSecs=9999 -api GeoMaxExtSecs=9999</code>. See the <a href="https://exiftool.org/geotag.html#Options">exiftool documentation</a>.</p>
<p>See also <a href="https://medium.com/@dmpop/geocorrelating-photos-with-google-maps-timeline-and-exiftool-34f69eed6e2d" title="Geocorrelating Photos with Google Maps Timeline and ExifTool">this post</a> where I refined this idea from.</p>
]]></content:encoded>
    </item>
  </channel>
</rss>
