You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The expression z(geometry(get_feature_by_id('layer_id', map_get(array_first(@snapping_results), 'feature_id')))) doesn't work in QField for windows
Reproduction steps
Steps to reproduce the behavior:
Open the linked project
Add a new feature in the layer "get_z_from_reference" by snapping it to the layer "reference"
The field "get_z" should be filled with the height of the snapped point
Expected behavior
The field "get_z" should be filled with the height of the point within the layer "reference"
Observed behavior
The field is filled in QGIS Desktop and QField for Android. The field is not filled in QField for Windows.
If it can help, if the project contains only the layers "get_z_from_reference" and "reference", there is no problem. The problem occurs only once that a third layer is added ("reference 2").
QGIS (please complete the following information)
OS: Windows
QGIS Version: 3.24
QFieldSync Version: not used
QField (please complete the following information)
OS: Windows
QField version: 3.4.0
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
Describe the issue
The expression
z(geometry(get_feature_by_id('layer_id', map_get(array_first(@snapping_results), 'feature_id'))))
doesn't work in QField for windowsReproduction steps
Steps to reproduce the behavior:
Expected behavior
The field "get_z" should be filled with the height of the point within the layer "reference"
Observed behavior
The field is filled in QGIS Desktop and QField for Android. The field is not filled in QField for Windows.
If it can help, if the project contains only the layers "get_z_from_reference" and "reference", there is no problem. The problem occurs only once that a third layer is added ("reference 2").
QGIS (please complete the following information)
QField (please complete the following information)
Additional information
qfield_snapping.zip
The text was updated successfully, but these errors were encountered: