﻿{"id":6303,"date":"2018-09-12T21:53:33","date_gmt":"2018-09-12T19:53:33","guid":{"rendered":"http:\/\/www.sigterritoires.fr\/?p=6303"},"modified":"2018-10-17T12:04:03","modified_gmt":"2018-10-17T10:04:03","slug":"geotag-and-import-photos-replace-photo2shape-in-qgis-2","status":"publish","type":"post","link":"https:\/\/www.sigterritoires.fr\/index.php\/en\/geotag-and-import-photos-replace-photo2shape-in-qgis-2\/","title":{"rendered":"Geotag and import photos replace photo2shape in QGis"},"content":{"rendered":"\r\n<p>&nbsp;<\/p>\r\n\r\n\r\n\r\n<p>This article is an update of a previous one, \u201c<a href=\"https:\/\/translate.google.com\/translate?hl=en&amp;prev=_t&amp;sl=auto&amp;tl=en&amp;u=http:\/\/www.sigterritoires.fr\/index.php\/integrer-des-photos-geolocalisees-dans-qgis-avec-photo2shape\/\">Integrate geolocated photos<\/a> <a href=\"https:\/\/translate.google.com\/translate?hl=en&amp;prev=_t&amp;sl=auto&amp;tl=en&amp;u=http:\/\/www.sigterritoires.fr\/index.php\/integrer-des-photos-geolocalisees-dans-qgis-avec-photo2shape\/\">in QGis with Photo2shape<\/a>\u201d \u00a0 . In fact, the photo2shape plugin is no longer maintained and poses a lot of problems. We will perform the same operations with the new plugin \u00a0 \u201cGeotag and import photos\u201d.<\/p>\r\n\r\n\r\n\r\n<p>In this article we will discuss how to create a layer of points in QGis including positions and links to \u201cgeotagged\u201d photos. Therefore, we will use the QGis Photo2Shape plugin.<!--more--><\/p>\r\n\r\n\r\n\r\n<p><strong>Introduction<\/strong><\/p>\r\n\r\n\r\n\r\n<p>Geotagging consists of specifying the <strong>geographic coordinates <\/strong>of photos by changing their <strong>EXIF<\/strong> data (or <em>tags<\/em>). EXIF (Exchangeable image file format) data of a photo includes different information such as the type of camera, the date and time of the shooting etc&#8230;<\/p>\r\n\r\n\r\n\r\n<p>If you have a camera equipped with a GPS, the location data can be included automatically. For example, if you have an iPhone you can enable geotagging pictures (see how to enable in the following page: <a href=\"https:\/\/translate.google.com\/translate?hl=en&amp;prev=_t&amp;sl=auto&amp;tl=en&amp;u=http:\/\/www.imore.com\/how-to-turn-off-photo-geotagging-protect-privacy-iphone-ipad\">How to turn photo geotagging \u00a0on or off on your iPhone or iPad).<\/a><\/p>\r\n\r\n\r\n\r\n<p>If you do not, instead of using some software such as Locr GPS Photo (free) or Robogeo (charged) to include a location in your pictures, you can use this new plugin (options geotag photos and photo tag).<\/p>\r\n\r\n\r\n\r\n<p><strong>Installing the<\/strong> <strong><em>Geotag<\/em><\/strong> <strong><em>and import photos<\/em><\/strong> <strong>plugin<\/strong><\/p>\r\n\r\n\r\n\r\n<p>The old <strong><em>photo2shape<\/em><\/strong> plugin used an additional Python module, \u00a0 <strong>ExifRead<\/strong>. \u00a0 <em>Geotag and import photos<\/em> uses an executable external to QGis to handle the EXIF \u200b\u200bformat. This executable, <strong>ExifTool<\/strong>, \u00a0 is free and royalty free for all platforms.<\/p>\r\n\r\n\r\n\r\n<p>You can download the latest version at <a href=\"https:\/\/translate.google.com\/translate?hl=en&amp;prev=_t&amp;sl=auto&amp;tl=en&amp;u=http:\/\/www.sno.phy.queensu.ca\/~phil\/exiftool\/\">http:\/\/www.sno.phy.queensu.ca\/~phil\/exiftool\/<\/a><\/p>\r\n\r\n\r\n\r\n<p>In Windows, once you have compressed the downloaded file, unzip it in a permanent directory and rename the file in exiftool.exe.<\/p>\r\n\r\n\r\n\r\n<p>You will have to tell the plugin the location of this executable. To install the plugin in QGis, open the menu <strong><em>Extensions -&gt; Install \/<\/em><\/strong><strong><em>Manage<\/em><\/strong><strong><em>extensions<\/em><\/strong><\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"329\" data-attachment-id=\"6305\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/geotag-and-import-photos-replace-photo2shape-in-qgis-2\/geo1-4\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo1.png?fit=840%2C432&amp;ssl=1\" data-orig-size=\"840,432\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"geo1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo1.png?fit=640%2C329&amp;ssl=1\" class=\"wp-image-6305\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo1.png?resize=640%2C329&#038;ssl=1\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo1.png?w=840&amp;ssl=1 840w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo1.png?resize=300%2C154&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo1.png?resize=768%2C395&amp;ssl=1 768w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n\r\n\r\n\r\n<p>Make sure that the experimental extensions are displayed. If this is not the case, you will not find the plugin to be installed.<\/p>\r\n\r\n\r\n\r\n<p>Select <strong><em>All<\/em><\/strong> and go through the list to find \u201c<strong><em>Geotag and import photos<\/em><\/strong>\u201d. Click on the line to select it and click the <strong><em>Install<\/em><\/strong> <strong><em>Extension<\/em><\/strong> button. Close the window. You have now a new menu line under Vector:<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"437\" height=\"210\" data-attachment-id=\"6306\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/geotag-and-import-photos-replace-photo2shape-in-qgis-2\/geo2-4\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo2.png?fit=437%2C210&amp;ssl=1\" data-orig-size=\"437,210\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"geo2\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo2.png?fit=437%2C210&amp;ssl=1\" class=\"wp-image-6306\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo2.png?resize=437%2C210&#038;ssl=1\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo2.png?w=437&amp;ssl=1 437w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo2.png?resize=300%2C144&amp;ssl=1 300w\" sizes=\"auto, (max-width: 437px) 100vw, 437px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>\u00a0Click <strong><em>Settings<\/em><\/strong> and fill in the first line with the location where you have placed <strong>exiftools.exe\u00a0<\/strong><\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"403\" height=\"208\" data-attachment-id=\"6307\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/geotag-and-import-photos-replace-photo2shape-in-qgis-2\/geo3-4\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo3.png?fit=403%2C208&amp;ssl=1\" data-orig-size=\"403,208\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"geo3\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo3.png?fit=403%2C208&amp;ssl=1\" class=\"wp-image-6307\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo3.png?resize=403%2C208&#038;ssl=1\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo3.png?w=403&amp;ssl=1 403w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo3.png?resize=300%2C155&amp;ssl=1 300w\" sizes=\"auto, (max-width: 403px) 100vw, 403px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n\r\n\r\n\r\n<p>Leave the second line empty. The installation and plugin configuration is completed.<\/p>\r\n\r\n\r\n\r\n<p><strong>Loading<\/strong> <strong>photos<\/strong> <strong>in<\/strong> <strong>QGis<\/strong><\/p>\r\n\r\n\r\n\r\n<p>Let\u2019s suppose you use an iPhone or equivalent. The images integration procedure in QGis is extremely simple.<\/p>\r\n\r\n\r\n\r\n<p>1- copy your images in a directory. With the Windows Photo Viewer, for example, make sure that the photos are correctly positioned. Since you will link the photos to the layer created, the photos will be viewed directly with QGis. Therefore, it is essential that they are stored in the right place. 2-Start the creation of a <a href=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/shapefile-vs-geopackage\/\">shapefile<\/a> corresponding to the geotags of your photos with the plugin Geotag and import photos: menu Vector -&gt; Geotag and import photos -&gt; Import photos<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"466\" height=\"501\" data-attachment-id=\"6308\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/geotag-and-import-photos-replace-photo2shape-in-qgis-2\/geo4-4\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo4.png?fit=466%2C501&amp;ssl=1\" data-orig-size=\"466,501\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"geo4\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo4.png?fit=466%2C501&amp;ssl=1\" class=\"wp-image-6308\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo4.png?resize=466%2C501&#038;ssl=1\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo4.png?w=466&amp;ssl=1 466w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo4.png?resize=279%2C300&amp;ssl=1 279w\" sizes=\"auto, (max-width: 466px) 100vw, 466px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n\r\n\r\n\r\n<p>Fill in the directory where you have your photos. Select the tags to be taken into account (Here we have chosen <strong><em>Select all<\/em><\/strong>). For each tag, the plugin will create a column in the table of the output shape which will be filled with the value found for each photo.<\/p>\r\n\r\n\r\n\r\n<p>Enter the location and name for the output shapefile. Click <strong>OK<\/strong> and if you have checked the <strong><em>Add result to canvas,<\/em><\/strong> you will see the points corresponding to the photos<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"350\" data-attachment-id=\"6309\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/geotag-and-import-photos-replace-photo2shape-in-qgis-2\/geo5-4\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo5.png?fit=840%2C459&amp;ssl=1\" data-orig-size=\"840,459\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"geo5\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo5.png?fit=640%2C350&amp;ssl=1\" class=\"wp-image-6309\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo5.png?resize=640%2C350&#038;ssl=1\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo5.png?w=840&amp;ssl=1 840w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo5.png?resize=300%2C164&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo5.png?resize=768%2C420&amp;ssl=1 768w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>If you open the corresponding table you see the fields that have been created.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"324\" data-attachment-id=\"6310\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/geotag-and-import-photos-replace-photo2shape-in-qgis-2\/geo6-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo6.png?fit=840%2C425&amp;ssl=1\" data-orig-size=\"840,425\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"geo6\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo6.png?fit=640%2C324&amp;ssl=1\" class=\"wp-image-6310\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo6.png?resize=640%2C324&#038;ssl=1\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo6.png?w=840&amp;ssl=1 840w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo6.png?resize=300%2C152&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo6.png?resize=768%2C389&amp;ssl=1 768w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n\r\n\r\n\r\n<p>The most important part is the field that contains the directory and image file name because this is what we will be using to display images in QGis. The name of this field is by default, <strong><em>filepath<\/em><\/strong>.<\/p>\r\n\r\n\r\n\r\n<p><strong>Viewing<\/strong> <strong>photos<\/strong> <strong>in<\/strong> <strong>QGis<\/strong><\/p>\r\n\r\n\r\n\r\n<p>To view pictures automatically when moving the mouse over a point of the shape, we will use the tooltips.<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Open the context menu of the created shape layer.<\/li>\r\n<li>Select item <strong><em>tooltips<\/em><\/strong><\/li>\r\n<li>Select <strong><em>HTML<\/em><\/strong><\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>click on <strong><em>Insert<\/em><\/strong><strong><em>an<\/em><\/strong><strong><em>expression<\/em><\/strong><\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"630\" height=\"308\" data-attachment-id=\"6311\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/geotag-and-import-photos-replace-photo2shape-in-qgis-2\/geo7-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo7.png?fit=630%2C308&amp;ssl=1\" data-orig-size=\"630,308\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"geo7\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo7.png?fit=630%2C308&amp;ssl=1\" class=\"wp-image-6311\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo7.png?resize=630%2C308&#038;ssl=1\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo7.png?w=630&amp;ssl=1 630w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo7.png?resize=300%2C147&amp;ssl=1 300w\" sizes=\"auto, (max-width: 630px) 100vw, 630px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>In the Expression window type the following command:<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p><strong><em>CONCAT (<\/em><\/strong> <strong><em>&lsquo;&lt;img<\/em><\/strong> <strong><em><a href=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/qgis-projections-crs\/\">src<\/a><\/em><\/strong> <strong><em>=<\/em><\/strong> <strong><em>\u00bb&rsquo;,<\/em><\/strong> <strong><em>Filepath<\/em><\/strong>,<strong><em>&lsquo;<\/em><\/strong> <strong><em>\u00bbWidth =\u00ab<\/em><\/strong> <strong><em>400<\/em><\/strong> <strong><em>\u00ab\u00a0&gt; &lt;\/ Img&gt; &lsquo;)<\/em><\/strong> The <strong><em>width<\/em><\/strong> value is to adjust according to the size of your photos.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"630\" height=\"414\" data-attachment-id=\"6312\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/geotag-and-import-photos-replace-photo2shape-in-qgis-2\/geo8-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo8.png?fit=630%2C414&amp;ssl=1\" data-orig-size=\"630,414\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"geo8\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo8.png?fit=630%2C414&amp;ssl=1\" class=\"wp-image-6312\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo8.png?resize=630%2C414&#038;ssl=1\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo8.png?w=630&amp;ssl=1 630w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo8.png?resize=300%2C197&amp;ssl=1 300w\" sizes=\"auto, (max-width: 630px) 100vw, 630px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Click <strong><em>OK<\/em><\/strong> and <strong><em>OK<\/em><\/strong>.<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>Now, when you select the tool <strong><em>Infobulles<\/em><\/strong>, when you halt on a point of the shape, the image appears automatically.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"347\" data-attachment-id=\"6313\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/geotag-and-import-photos-replace-photo2shape-in-qgis-2\/geo9-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo9.png?fit=840%2C455&amp;ssl=1\" data-orig-size=\"840,455\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"geo9\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo9.png?fit=640%2C347&amp;ssl=1\" class=\"wp-image-6313\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo9.png?resize=640%2C347&#038;ssl=1\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo9.png?w=840&amp;ssl=1 840w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo9.png?resize=300%2C163&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo9.png?resize=768%2C416&amp;ssl=1 768w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n\r\n\r\n\r\n<p><strong>View<\/strong> <strong>photos with<\/strong> <strong>eVis<\/strong><\/p>\r\n\r\n\r\n\r\n<p>Another way to view the photos, without activating the html tooltips is the extension eVis.<\/p>\r\n\r\n\r\n\r\n<p>This extension is installed by default in QGis 2.18. Simply check that it is activated when opening the manager extensions.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"330\" data-attachment-id=\"6314\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/geotag-and-import-photos-replace-photo2shape-in-qgis-2\/geo10\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo10.png?fit=840%2C433&amp;ssl=1\" data-orig-size=\"840,433\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"geo10\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo10.png?fit=640%2C330&amp;ssl=1\" class=\"wp-image-6314\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo10.png?resize=640%2C330&#038;ssl=1\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo10.png?w=840&amp;ssl=1 840w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo10.png?resize=300%2C155&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo10.png?resize=768%2C396&amp;ssl=1 768w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>&gt; You will use both eVis tools:<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"235\" height=\"77\" data-attachment-id=\"6315\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/geotag-and-import-photos-replace-photo2shape-in-qgis-2\/geo11\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo11.png?fit=235%2C77&amp;ssl=1\" data-orig-size=\"235,77\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"geo11\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo11.png?fit=235%2C77&amp;ssl=1\" class=\"wp-image-6315\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo11.png?resize=235%2C77&#038;ssl=1\" alt=\"\" \/><\/figure>\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n\r\n\r\n\r\n<p>If you do not see them in the toolbar, go to the <strong><em>View<\/em><\/strong> menu <strong><em>-&gt; Toolbars<\/em><\/strong> and check the <strong><em>Database Toolbar<\/em><\/strong><\/p>\r\n\r\n\r\n\r\n<p>Click on the tool <strong><em>Navigator<\/em><\/strong> <strong><em>events<\/em><\/strong> <strong><em>eVis<\/em><\/strong> (the right button) The navigation window opens:<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"637\" height=\"779\" data-attachment-id=\"6316\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/geotag-and-import-photos-replace-photo2shape-in-qgis-2\/geo12\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo12.png?fit=637%2C779&amp;ssl=1\" data-orig-size=\"637,779\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"geo12\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo12.png?fit=637%2C779&amp;ssl=1\" class=\"wp-image-6316\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo12.png?resize=637%2C779&#038;ssl=1\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo12.png?w=637&amp;ssl=1 637w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo12.png?resize=245%2C300&amp;ssl=1 245w\" sizes=\"auto, (max-width: 637px) 100vw, 637px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n\r\n\r\n\r\n<p>Click on the tab <strong><em>Options<\/em><\/strong>, set the field to take into account for displaying images ( <strong><em>filepath<\/em><\/strong> ) and check the box <strong><em>Remember,<\/em><\/strong> then click <strong><em>Save.<\/em><\/strong> Now, you can use the tool <strong><em>Tool<\/em><\/strong><strong><em>eVis<\/em><\/strong><strong><em>Id<\/em><\/strong><strong><em>Event<\/em><\/strong> (left button). When you click on a picture point on the map, the tool opens a window with the data of the attribute fields as well as a window with the display of the image.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"499\" data-attachment-id=\"6317\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/geotag-and-import-photos-replace-photo2shape-in-qgis-2\/geo13\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo13.png?fit=840%2C655&amp;ssl=1\" data-orig-size=\"840,655\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"geo13\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo13.png?fit=640%2C499&amp;ssl=1\" class=\"wp-image-6317\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo13.png?resize=640%2C499&#038;ssl=1\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo13.png?w=840&amp;ssl=1 840w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo13.png?resize=300%2C234&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/geo13.png?resize=768%2C599&amp;ssl=1 768w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/figure>\r\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; This article is an update of a previous one, \u201cIntegrate geolocated photos in QGis with Photo2shape\u201d \u00a0 . In fact, the photo2shape plugin is no longer maintained and poses a lot of problems. We will&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"give_campaign_id":0,"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1260],"tags":[],"class_list":["post-6303","post","type-post","status-publish","format-standard","hentry","category-non-classe-en"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p6XU0A-1DF","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts\/6303","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/comments?post=6303"}],"version-history":[{"count":0,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts\/6303\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/media?parent=6303"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/categories?post=6303"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/tags?post=6303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}