QField
QField copied to clipboard
Enhancement - add expression variable to record Orientation
Hello,
When I'm geotagging information using a point layer, I'm saving the information about GPS orientation, using this expression:
@position_direction
If I'm moving, the GPS will save the direction of the phone (the expression is quite right), but it will not save the orientation. In the situation where I'm in a moving vehicle and try to save the orientation of a photo, the photo is always oriented toward the direction of the vehicle.
Is there a way to save the orientation, like on the picture below ?
Desktop (please complete the following information)
- OS: [eWindows 10]
- QGIS Version [3.26.0]
- QFieldSync Version [4.1.1]
Mobile (please complete the following information)
- Device: [Samsung Galaxy S9]
- OS: [Android 11]
- QField version: [master-dev (7e3543)]
Additional information
- Problem started happening recently, didn't happen in an older version of QField: [No]
- Problem can be reliably reproduced, doesn't happen randomly: [Yes]
- Problem happens with all files and projects, not only some files or projects: [Yes]
Thank you
In short, this is a request for adding a @position_orientation
variable?
Hello,
If nothing similar exists to record the orientation, this is a request for adding a @position_orientation variable.
This is implemented since QField 3.1 (i.e. https://github.com/opengisch/QField/blob/master/src/core/utils/expressioncontextutils.cpp#L64).