Is there a way to select an attribute from a polygon layer and insert the value into a virtual field of a point layer using "within" in the field calculator?
CASE
WHEN within($geometry, geometry_polygon) THEN attribute_polygon
END
Answer
Spatial joins are available in the field calculator after installing the refFunctions plugin.
geomwithin(targetLayer,targetField)
No comments:
Post a Comment