I am collecting attribute information for dead trees in a data collection layer (Tree_Loc) using QField. When I create a new tree point I would like to have automatic assignment of the parcel number from the parcel layer to attribute “APN”in the Tree_Loc layer.

1 Answer 1


Right click Tree_Loc layer. Got to Properties_Attribute form. Select "APN" and go to default settings. In there try

overlay_intersects('myparcellayername', APN )[0]
  • Thank you! That was simple.
    – MDel
    Commented Feb 10, 2023 at 15:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.