• Blog posts

    Bio

    By David Crowther

    QGIS__Geotagging_Photos_-_1.PNG

    Question:

    Is it possible to show geotagged photos within QGIS?

    Answer:

    Yes, there is a QGIS plugin called Import Photos which will automatically create a Points layer based on your geotagged photos. Follow the steps below to create your own geotagged layers.

    Step 1: Capture a Photograph

    You can geotag one or multiple images in the same folder at the same time. These images could be from the same geographic location or from multiple locations. In this example we will take a photograph of the Cadline Head Office in Staines Upon Thames.

    QGIS__Geotagging_Photos_-_2.PNG

    Depending on the device being used, and the Location Settings on that device, your photograph may already be geotagged with metadata collected about the location the photo was captured from. If not then you can import your photos into PICASA as this provides a geotagging tool for you.

    Step 2: Use Picasa and Google Earth to geotag the image

    Having download and installed PICASA.

    QGIS__Geotagging_Photos_-_3.PNG

    Open your image/photograph into the main canvas.

    QGIS__Geotagging_Photos_-_4.PNG

    Select the image (or multiple images) and then choose Tools > Geotag > Geotag with Google Earth.

    Note - Google Earth will need to already be open.

    In Google Earth search for and then zoom into the location where the photograph was taken. Now use the Yellow Crosshairs to choose the location of the photo and using the PICASA popup window (bottom right) press Geotag (for each of the photos) and when finished press Done.

    QGIS__Geotagging_Photos_-_5.PNG

    In PICASA the image will now have coordinates (GPS Longitude and GPS Latitude) added to its Metadata Properties.

    QGIS__Geotagging_Photos_-_6.PNG

    The image in PICASA will also be updated with a red pin in the bottom right corner to denote that the image is now geotagged.

    QGIS__Geotagging_Photos_-_7.PNG

    Step 3: Import Photos plugin for QGIS

    In QGIS use the Plugins tool to install the Import Photos Plugin.

    QGIS__Geotagging_Photos_-_8.PNG

    This adds two new buttons into QGIS.

    QGIS__Geotagging_Photos_-_9.PNG

    Choose the Import Photos icon (the one on the left) and in the Import Photos window, choose:

    • Input Folder – to be the folder where the images/photos are stored.
    • Output Folder – a location and file name to save the GIS points file e.g. Shapefile.

     QGIS__Geotagging_Photos_-_10.PNG

    Press OK and the Import Photos tool will process the images in the Input folder and give a summary of the geotagging process.

    QGIS__Geotagging_Photos_-_11.PNG

    A new GIS layer will be added into the project and points for each of the Geotagged photos will be created in that layer.

    QGIS__Geotagging_Photos_-_12.PNG

    Using the Layer Settings you can change the style of the geotagged points and add labels. Then use the Click Photos tool….

    QGIS__Geotagging_Photos_-_13.PNG

    to click on the geotag point and the tagged photograph will open in a new popup window.

    QGIS__Geotagging_Photos_-_14.PNG

    If you now Save and Share your QGIS project you can provide your users with an interface that allows them to view geotagged photos for your assets and site locations.