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
I have point layer (parent) with a child layer (a table for saving images).
When digitizing a point, the user fills in several fields and has to take two different images 'pic_plot' and 'pic_plant'.
In addition, she/he has to take another photo if field 'name' = 9 in the point layer. E.g. if 'name' = 9, then the user must remember to take 1-3 pictures (i.e. at least one photo, maximum 3 photos). If 'name' != 9, the user shall not take any images. I have tried several expression. However, it seems like the 'name'-field is "empty" (NULL) until the point actually is saved and therefor I cannot use 'name' = 9 in the condition? Is there any (other) way of achieving this? https://gis.stackexchange.com/questions/447779/get-attribute-value-from-parent-layer-to-child-layer-sharing-same-uniqueid?rq=1
point layer (parent)
...
name
rb_id (uuid)
photo layer (child)
pic_plot
pic_plant
pic_name (Is it possible to make this mandatory only when 'name' = 9?
b_id (uuid)
Points and photos are connected through rb_id = b_id.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have point layer (parent) with a child layer (a table for saving images).
When digitizing a point, the user fills in several fields and has to take two different images 'pic_plot' and 'pic_plant'.
In addition, she/he has to take another photo if field 'name' = 9 in the point layer. E.g. if 'name' = 9, then the user must remember to take 1-3 pictures (i.e. at least one photo, maximum 3 photos). If 'name' != 9, the user shall not take any images. I have tried several expression. However, it seems like the 'name'-field is "empty" (NULL) until the point actually is saved and therefor I cannot use 'name' = 9 in the condition? Is there any (other) way of achieving this?
https://gis.stackexchange.com/questions/447779/get-attribute-value-from-parent-layer-to-child-layer-sharing-same-uniqueid?rq=1
point layer (parent)
...
name
rb_id (uuid)
photo layer (child)
pic_plot
pic_plant
pic_name (Is it possible to make this mandatory only when 'name' = 9?
b_id (uuid)
Points and photos are connected through rb_id = b_id.
Beta Was this translation helpful? Give feedback.
All reactions