Some mobile devices will require for native camera mode to be turned off to enable geotagging.
To enable geotagging in case your native OS camera does not support this functionality, follow these steps:
In QField, go to the settings and make sure Use native Camera is
deactivated
on your mobile device
Completed! QField's own QML-based camera will now be utilized while taking pictures
Fetching Geotags (EXIF) from the image file into the attribute table¶
Desktop preparation
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.
QFieldSync provides the possibility to configure the path of picture attachments.
Go to QFieldSync plugin > Layers Properties
Choose the layer, the field and configure the expression
Use expressions to specify the path of the attachments. By default, pictures are saved into the "DCIM" folder, audio are saved into the "audio" folder and videos are saved into "video" with a timestamp as name.
picture path
Additional directories can be synchronized with pictures or other attachments. Extra paths can be configured in Attachment directories. All paths are relative to the project directory.
attachments directories
Note
QGIS 3.14 or newer is required for this functionality