I am looking for the distance of the closest point (Layer 1) to my atlas object (Layer 2). I want to use the expression builder.
Example: I have a House, which is also the atlas_feature, on 'Layer A'. I have bus stations which are on 'Layer B'. I want to get the distances to the closest Bus Station on 'Layer B'.
For getting the Name of the closest Busstation on 'Layer B' I am using reffunctions
geomnearest. However, I also need the distance to the closest one.