{"id":1358,"date":"2023-08-23T21:15:44","date_gmt":"2023-08-24T02:15:44","guid":{"rendered":"https:\/\/www.nathanhunstad.com\/blog\/?p=1358"},"modified":"2023-08-23T21:15:44","modified_gmt":"2023-08-24T02:15:44","slug":"add-geolocation-data-to-photos-the-easy-way","status":"publish","type":"post","link":"https:\/\/www.nathanhunstad.com\/blog\/2023\/08\/add-geolocation-data-to-photos-the-easy-way\/","title":{"rendered":"Add Geolocation data to photos the easy way"},"content":{"rendered":"\n<p>A long time ago I wrote a <a href=\"https:\/\/www.nathanhunstad.com\/blog\/2011\/07\/geosetter-and-gps-logger\/\" target=\"_blank\" rel=\"noopener\" title=\"\">blog post<\/a> about how to add location data to photos using a tool called GPSLogger to record your location, as well as <a href=\"https:\/\/geosetter.de\/en\/main-en\/\" target=\"_blank\" rel=\"noopener nofollow\" title=\"\">GeoSetter<\/a> to take that data and apply it to photos. It&#8217;s been a long time since that blog post, and I was looking to do the same thing recently. A couple of phones later I no longer had GPSLogger (and forgot to check my blog to remember what I used to use), but since I was using Google Fit to track my location, I figured it would be easy to use that data to do the same thing. And it was! Continue reading to see how&#8230;<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>The first thing I had to do was to get the location data from Google. There is no direct way to export a workout from Google Fit, so that wouldn&#8217;t work. However, Google makes it easy to get your data using <a href=\"https:\/\/takeout.google.com\/settings\/takeout\" target=\"_blank\" rel=\"noopener nofollow\" title=\"\">Google Takeout<\/a>. Simply select fit and the data you want to get  : you&#8217;ll want the &#8220;Activities&#8221; at least since that&#8217;s where the location data is located. Submit the request and a short time later you&#8217;ll be able to download the data.<\/p>\n\n\n\n<p>After unzipping and finding the Activities folder, you can go to the activity you recorded, such as a hike, and find the right TCX file. I had a problem using the TCX file format with GeoSetter, but I found a way around that: I converted the TCX files to GPX using the handy converter at <a href=\"https:\/\/www.gpsvisualizer.com\/convert_input\" target=\"_blank\" rel=\"noopener nofollow\" title=\"\">GPS Visualizer<\/a>. It can even merge multiple TCX files into one.<\/p>\n\n\n\n<p>Once I had converted the file, I used GeoSetter to sync the data by clicking on &#8220;Edit&#8221;, then &#8220;Synchronize with GPS Data Files&#8230;&#8221; after selecting the appropriate photos:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2023\/08\/image.png\"><img loading=\"lazy\" decoding=\"async\" width=\"449\" height=\"206\" src=\"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2023\/08\/image.png\" alt=\"\" class=\"wp-image-1359\" srcset=\"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2023\/08\/image.png 449w, https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2023\/08\/image-300x138.png 300w\" sizes=\"auto, (max-width: 449px) 100vw, 449px\" \/><\/a><\/figure>\n\n\n\n<p>Once the proper data is applied to your photos, just save and you are done!<\/p>\n\n\n\n<p>One final note: in order to get support for CR3 files I had to download the beta of GeoSetter here: <a href=\"https:\/\/geosetter.de\/geosetter_beta.exe\">https:\/\/geosetter.de\/geosetter_beta.exe<\/a>. It&#8217;s beta but I&#8217;ve had no problems with it.<\/p>\n\n\n\n<p>Now you can track your photo walks with Google Fit AND make it easy to add location data at the same time!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to use location data from Google Fit and GeoSetter to easily add location data to photos.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-1358","post","type-post","status-publish","format-standard","hentry","category-photography","entry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.nathanhunstad.com\/blog\/wp-json\/wp\/v2\/posts\/1358","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nathanhunstad.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nathanhunstad.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nathanhunstad.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nathanhunstad.com\/blog\/wp-json\/wp\/v2\/comments?post=1358"}],"version-history":[{"count":1,"href":"https:\/\/www.nathanhunstad.com\/blog\/wp-json\/wp\/v2\/posts\/1358\/revisions"}],"predecessor-version":[{"id":1360,"href":"https:\/\/www.nathanhunstad.com\/blog\/wp-json\/wp\/v2\/posts\/1358\/revisions\/1360"}],"wp:attachment":[{"href":"https:\/\/www.nathanhunstad.com\/blog\/wp-json\/wp\/v2\/media?parent=1358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nathanhunstad.com\/blog\/wp-json\/wp\/v2\/categories?post=1358"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nathanhunstad.com\/blog\/wp-json\/wp\/v2\/tags?post=1358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}