Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pictures.en.md #395

Merged
merged 6 commits into from
Dec 4, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions documentation/how-to/pictures.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,23 @@ To enable geotagging in case your native OS camera does not support this functio
deactivated
on your mobile device
3. Completed! QField's own QML-based camera will now be utilized while taking pictures

## Saving Geotags (EXIF) automatically
rosaguilar marked this conversation as resolved.
Show resolved Hide resolved
:material-monitor: Desktop preparation

Sometimes you might be interested in storing automatically Geotags such as the latitude, longitude, orientation, etc. This information is also known as EXIF tags.
rosaguilar marked this conversation as resolved.
Show resolved Hide resolved

To store the EXIF information, follow these steps:

1. Add an attribute per EXIF tag in the table that contains the pictures.
2. In the pictures form, configure the default value of each attribute to the corresponding
*EXIF* expression [See QGIS EXIF function](https://docs.qgis.org/3.28/en/docs/user_manual/expressions/functions_list.html?highlight=exif#exif),
rosaguilar marked this conversation as resolved.
Show resolved Hide resolved
and make sure *Apply on update* is activated.
4. 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.
5. Capturing EXIF tags requires to access the full physical path of the picture. Be sure of reflecting this in the QGIS expression.
rosaguilar marked this conversation as resolved.
Show resolved Hide resolved
For example, the expression * exif(@project_folder + '/' + "path", 'Exif.Image.Orientation')* retrieves the orientation of the picture stored in *path*.
7. Completed! QField's now capture and store the EXIF tags in the pictures table while taking pictures.

## Maximum picture size
:material-monitor: Desktop preparation
Expand Down