DOI

How to cite

M. Kyriakou, G. Christou, end P. Kolios, “ImportPhotos: a QGIS plugin to visualise geotagged photos”, Zenodo. (doi:10.5281/zenodo.3384824)

@INPROCEEDINGS{kyriakou2019,
author={Kyriakou, Marios and Christou, Georgios and Kolios, Panayiotis},
title={ImportPhotos: a QGIS plugin to visualise geotagged photos},
year= {2019},
DOI= {10.5281/zenodo.3384824}}

ImportPhotos v2.2.3

  • Add field column Images to use with QGIS plugin qgis2web directly OK
  • Test with Linux mint.
  • Change the position from the point of the photo.
  • Show next photo based on the timestamp or location

ImportPhotos v2.2.2

  • Add the option to import photos only on canvas extent
  • Add filters gray and mirror, mono
  • Filters edges, averaging, 2D convolution, gaussian, gaussian highpass, median (needed: pip install opencv-python)
  • Add bands red, blue, green
  • Add name title and save as option
  • Fix transparent left, right buttons for all themes

ImportPhotos v2.1

Rollback
Fix tabs & update buttons
Fix zoom to selected photo

Releases:

https://github.com/KIOS-Research/ImportPhotos/releases

ImportPhotos v2.0

https://www.dropbox.com/sh/bu5os1siiscdnr4/AABicQQnGtaj-9Sch7_1Iwxwa?dl=0

New features:

1.

from qgis.utils import plugins
 if 'ImportPhotos' in plugins:
         plugins['ImportPhotos'].import_photos('C:\\Users\\USERNAME\\Desktop\\20170911', 'C:\\Users\\USERNAME\\Desktop\\example.shp', "C:\\Users\\USERNAME\\Desktop\\newstyle.qml", False)
     
  #or  #plugins['ImportPhotos'].import_photos('C:\\Users\\USERNAME\\Desktop\\2#0170911', 'C:\\Users\\USERNAME\\Desktop\\example2.shp', "", False)

2. Add group with layer

3. Fix issue in right/left transparent buttons

4. Add fields title, user comment and relative path
5. Change main ui window

This tool can be used to import Geo-Tagged photos (jpg or jpeg) as points to QGIS. The user is able to select a folder with photos and only the geo-tagged photos will be taken. Then a layer will be created which it will contain the name of the picture, its directory, the date and time taken, altitude, longitude, latitude, azimuth, north, camera maker and model and relative path. The plug-in doesn’t need any third party applications to work. It has two buttons; the one is to import geotagged photos, and the other one is to be able to click on a point and display the photo along with information regarding the date time and altitude. The user can create one of the following file types: GeoJSON, SHP, GPKG, CSV, KML, TAB. When the user saves a project and wants to reopen it, the folder with the pictures should stay at the original file location or moved at the same location of the project (e.g. *.qgz) in order to be able to view the pictures. Mac users please refer to the Read Me file for further guidance.

QGIS 2 & QGIS 3 ( Drop updates for QGIS 2 #v1.6 , v1.7)

Mac Users. Requires the following Python Modules to be installed: UnixImageIO, FreeType, PIL Please visit: http://www.kyngchaos.com/software/python#

http://plugins.qgis.org/plugins/ImportPhotos/

https://github.com/KIOS-Research/ImportPhotos

Contributors

Older versions

https://pigrecoinfinito.wordpress.com/2018/04/05/qgis-3-0-plugin-importphotos/


12 Comments

Jim Garner · at

It is not working for me in QGIS 3.6.
Says no other photos added.

Any help is appreciated. I am a new user to GIS.

    mariosmsk · at

    Hi Jim,

    Are we sure if the photos have lon / lat? Please check that. Also, what is your system? Linux/windows/mac? Thanks.

VAleria · at

It´s not working with mac..!!! what can I do? I need to load 1500 pictures… what do you recomend? Thanks

    mariosmsk · at

    Hi VAleria,
    Please send me your error. Thanks.

Kestutis · at

Hi there,

QGIS gives me a Python error when I try to click on photos:

AttributeError: ‘ImportPhotos’ object has no attribute ‘prj’

Any ideas on what could that be? Thank you in advance.

    Kasku · at

    I had similar issue. I think there is problem with diacritics in path name. Try changing path and filename to something without them (for example Ą to A or ó to o).

pascal · at

HI,
It does not work in Qgis 3.4 (MacOS 10.11). It says : Please install python module “exifread” or “PIL”, but PIL is installed in Python 2.6 and 2.7. And Exifread is installed in Python 2.7 too. Importphotos works in Qgis 2.18.
Pascal

田中隆志 · at

Hi there,
I am a high school geography teacher. Last week, I kowed about the Importphotos plugin and started using it. Currently, it is possible to click the icon on the PC screen and draw a photo. However, in the html file processed by qgis2web, the image is not displayed even if the icon is clicked.
I’m sorry for this very rudimentary question, but please help me.

bluebird · at

Great plugin, have used it with Qgis 3.4 on Windows with success
.
Now I test with Linux Mint and Qgis 3.10
Has Importphoto been used with 3.10?
I can import photos , it generates the pointlayer.
However, when clicking on a photo-point, it shows nothing.

Any hints are welcome!

Anna · at

Hello,

This plugin is great. I have it working perfectly in a Windows system, but get the following weird behavior in my Mac:
the photos are imported and displayed correctly upon click, but if I use the “previous” and “next” arrows, photos are presented in a random order. They are not shown based on timestamp, nor latitude or longitude, or photo name, or even ID field. All those fields show accurate information.

Has somebody else seen this problem?

bluebird1250 · at

Have you looked into the attribuite table.
I believe the order for “previous” and “next” is the one in the attribute table, ordered by “ID”

Olaf · at

Great plugin, two small problems (QGIS 3.10 with Version 2.2.2 of ImportPhotos):
1) Viewing a photo takes very long, with large image numbers on the layer. With 17.000 photos I am at around 5 seconds for opening the popup. With 17 photos it opens instantly. The info function of QGIS, that shows the attributes of a clicked photo point still works in milliseconds. So getting the photo URL should not take 5 seconds.
2) Selecting another photo point opens a new popup every time, which is ok I think, but the previous and next arrows in all popups use the value of the last popup.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: