Fetching Geotags (EXIF) from the image file into the attribute table¶
デスクトップの準備
Sometimes you might be interested in automatically storing Geotags such as the latitude, longitude, orientation, etc. This information is also known as EXIF tags.
To store the EXIF information, follow these steps:
Add an attribute per EXIF tag in the table that contains the pictures.
In the pictures form, configure the default value of each attribute to the corresponding
EXIF expression See QGIS EXIF function,
and make sure Apply on update is activated.
The EXIF tags that QField can capture are listed in the QGIS documentation (link above).
However, this list might slightly varies depending on the mobile characteristics.
Capturing EXIF tags requires accessing the full physical path of the picture. Be sure to reflect this in the QGIS expression.
For example, the expression * exif(@project_folder + '/' + "path", 'Exif.Image.Orientation') retrieves the orientation of the picture stored in path*.
Completed! QField's now capture and store the EXIF tags in the pictures table while taking pictures.