When adding a point, I'd like to auto-populate one of its fields (the street address) setting it to a field in the nearest point in another layer (a layer containing all existing addresses).
It looks like the Value Relation edit widget could do the trick, if I could figure out how to use the
Right now, I can get the list of all addresses by selecting the
Key column and
Value column. I thought I could filter that list so that it has only nearby points (ideally just one), using something like:
within($geometry_A, buffer($geometry_B,50)) = 1
$geometry_A is the new point and
$geometry_B is the existing point.
$geometry seem to refer to the existing points in the selected
Assuming I am on the right track, how do I refer to the geometry of the new point (i.e.