Adding Geotagged Photos in QGIS # Lesson 29 of 29 # QGIS Tutorial.

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] [Music] so [Music] hi guys welcome to today's qgis tutorial lesson 29 in this video we will learn adding geotag photos in qgis if you haven't subscribed to my channel please do so so that you can get a notification when i upload my next lesson if you're new to my channel you can follow all my previous lessons and useful gears tips from the links in the description below let's get started so a geotagged photograph is a photograph which is associated with a geographic position by your tagging usually this is done by assigning at least latitude and longitude to the image and optionally altitude compass bearing and other fields may also be included these photos can be taken during fieldwork using a gps enabled camera phone or tablet so let's now learn how these photos can be added to qgis project as pop-ups so we're going to use two methods so let's go to kgs and look at today's exercise we'll open qgis then go to project new project so we have created a new blank project here then the first thing we do is we are going to just inspect the photos that we have before we start with the first method that you're going to be using we'll inspect and look at the kind of photos that we have so i'm going to open the photo location which is on the desktop gis data then i have saved them as field work photos and you can see i have several filled photos here there's aloe vera until behind bridges cactuses has this can be actually any kind of vlog that you have done so for you to be able to know if these are geotagged photos you need to look at the properties of their of their photos so i'll just select any of the images like for example the ant here then i'll go and right click on so look at the properties of this image so i'm going to go to details because i want to look at the details of this photo then there are very very many details i just scroll down and you can see the kind of camera that i took with it was from a tablet and then when you go down the most important thing that you are looking for is the gps and you can see the under the gps we have the latitude and the longitude and altitude so these are the very very useful information that they're going to be needing in this exercise so this is actually a geotagged photos you might have other photos that don't actually have any coordinates and i think we actually tackled that in another another exercise you can just uh look at the links in the description below and be able to follow that lesson so let's go back to qgis now that we know that our photos are geotagged so the first thing we need to do is we need to install a plugin for this exercise so i'm going to go to plugins manage and install plugins and then i'll go to all then i looked for a plugin called import photos and i can see i have it here so this tool can be used to import your tagged photos that is very very important for us so i'm going to click on install and i'm going to let it install and you can see it's all successful and you can see there's some actually two tabs that have been added into our toolbar one is there import photo and the other one is click photo so this is now actually the tabs that you're going to be using to import our photos if you don't find these in your toolbar here you can just click right click and make sure that you activate it or you can just come to the plugin tab and you'll see a new tab here called import photos and then you can just select the import photos so that's how you can actually now access it now we want to import the photos that we actually will have had taken from the field into our qgs project so i'm going to just click on this tab here import photos then i'm going to input the folder location i'm going to select the folder location by browsing for it it is in the desktop gis data and it is filled photos you can see field work photos here so i'm going to select the fieldwork photos click on select folder so i've selected the folder the output file location i'm going to browse and i'm going to save it as uh either an esri shapefile json your package csv mapping for tab and all that so you can actually save it in this this actually this file format i like using the your package you can even save it as an sd share file so i would save it as a jio package then i'm going to just save it within the same same folder the js folder data field photos i'm going to save it here so i'm going to call it for this case i'm just going to say it's demo these are demo demo pictures for our project so i'm just going to say save a demo your package then um you can actually load styles if you have them it's up to you to decide then i can say okay to load my photos and if you tell me import complete details team photos added without error if they if we actually had errors they could appear here but then everything is okay i'm going to click on ok and it has actually loaded some photos here and the first thing i can do is i can just double click on any of these photos to just look at what information they have so i'm just just double click on it and you can see the photo appears so i'm just going to this is like just another this is just a another layer that when you open the attribute table you will just find all the information about the photos that you have taken so what i want to do is i want to do a little bit of styling so i'm going to go to properties then i'm going to just change the symbol i don't like this symbol so much so i'm just going to select a simple symbol and then i'm going to increase the size of the symbol maybe a black maybe i change the color of the symbol to maybe say light green like that then apply okay and now i've changed the symbols then the next thing i'm going to do i'm going to actually make sure that i label my symbols so properties label single labels and i'm going to label them with the name column which is this somebody just change the text to maybe say still a darker shade of green and i'm also going to increase the size a bit and make draw a buffer a white buffer the background and then the placement i'm going to just make sure it's offset from point maybe say here and i'll put it one x one degree and one degree for y then click on apply okay and you can now see we have actually labeled our photos very nicely here as points so the next thing i want to do is i can even introduce a base map i can go to the htmgs plugin and introduce a base map maybe say a satellite image select a satellite image and then i bring the satellite image below the points so that i can now zoom in and just select any point and look at what kind of information it has like for example there's a stream here you can see there's a stream here when i click on these it it actually shows you the image of that stream and the time i even took it so that is one way of actually loading these photos into qgis so let's go to the next method that doesn't actually require a plugin to load into qgis so the next method that you can use and to import the geotagged photos into qgis is very simple first of all we are going to uninstall the plugin that we had actually installed that is the photos import photos plugin so i'm going to select the import photos plugin and then i'm going to uninstall the plugin so the plugin has been uninstalled you can see when i go to plugins it's no longer available here and also no longer available in the toolbar so the next thing you're going to do is we are now going to look at the second method of now bringing in the geotagged photos without actually necessarily having a plugin so for us to achieve this go to the processing toolbox and open the processing toolbox here then we are going to select vector creation when you select vector creation you will see there is several several times but then there is one tab called import your target photos so you're going to select these your import your tracked photos by double clicking and then we're going to do the same same thing you're going to input the folder that has the photos so i'm going to select the folder that has the photos which is in the desktop gis data field photos fieldwork photos so i'm going to select that folder then it gives you the saving option which is going to be i'm going to select this uh drop down here and i'm going to save it to a file then i can change actually by it has more files here that you can actually save it with but i like using the job package layer so i'm going to save it as a job package layer then i'm going to save it still in the same same folder js folder data fieldwork and i already have a demo joe package layer that we actually used in the first example so i'm going to save it as demo too so that you have the two your packet layer then you see the difference so i'm going to click on save then i'm just going to click on on run and it pretty much takes very very few seconds to run and they the the results has actually been loaded into the into qgis i'm going to click on close and you can see now i have a second demo two here i can uncheck the demo one you see it still has the same same information and i open the attribute table i have even a much leaner attribute table actually it doesn't have so many information like the previous one where we are using there we are actually using the the plugin you can see it actually omitted so many other fields like the cameraman camera model and all that you can see in the demo 2 it has just the few information about this file and the most important ones which are the altitude longitude and latitude timestamp when it was taken and also a very important one because you're going to be needed needing it the photo link so if you click on your second example which is the demo two you'll notice that the photos are not actually popping up as in the first case in the in the previous case where we used actually the demo one so you actually need to change some little bit of settings so that you can achieve that so for for us to do that you're going to go to demo 2 right click on it then go to properties then before you go to the properties first we'll actually check attribute table to see which field has their photo links and you can see the photo links are in there attribute called photos so we're going to use that so i'm going to say right click on the demo tool go to properties then go to attribute forms then i'm going to select now the photos and you can see the photos are just that we get type is text edit so i'm going to change it to an attachment and then i'm going to scroll down in this small box here just below the attachment where i'm going to put in the path of the photos i'm going to select the default path for the photos so i'm going to go to data [Music] js data then i'm going to go to field photos and that is the path so i'm going to select that as my path then i'm going to scroll down a bit and then i'm going to say i want them to be stored relative to path i'm going to check that then i'm going to select scroll still scroll down and then and then i'm going to still scroll down again then i'm going to say the type is an image then the width i'll say auto and the height auto and then i'll click on apply okay then i'll go back now to the same same point select it and you can see a very small tiny image appears here with the information so i need to make this this photo a bit bigger so for me to make it a bit bigger let's go back to my my my layer right click go to properties then i'm going to go to the same which is the photos i've actually put in a lot of information here as an attachment relative to path then i'll go here down where they say width which is auto i'm going to put it put in some figures instead of being making it totally say maybe 500 pixels by 500 then i'm going to click on apply okay so i've actually made them bigger so when i click on it again right now you can see now the image is now much bigger and it has all that information that you actually need so i can go to another point like maybe say this one here to ascertain what it is it's an ant hill i can go to another point here and you can see a very very nice structure here that you took in your field in your fieldwork so that is how you actually import geotagged photos into qgis if you found this video useful and you want to learn more on qgis subscribe to my channel don't forget to give this video a thumbs up remember this was the first series of up and running in qgis so don't forget to join us in the second series which starts in a week's time on up and running eukjs series 2. see you in my next video [Music]
Info
Channel: WiseGIS
Views: 1,184
Rating: undefined out of 5
Keywords: geotagging, qgis, geotagged photo, gis, qgis tutorial, adding geotagged photos in qgis
Id: _HmmQFMcZl4
Channel Id: undefined
Length: 17min 0sec (1020 seconds)
Published: Thu Jan 07 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.