I have a layer with point geometry with a field
STREETCODE that represents the entry number of each house. On the other hand, I have, a layer with line geometry with the field
STREETCODE, representing the centerline axis of each street.
My objective is to use an expression to obtain a graphical representation to identify to which street axis each house entrance belongs.
For the demonstration I use a layer of line symbols from the Geometry Generator on my points layer:
When I test the expression it works fine for most cases. However, for some cases it would be necessary to force it to draw the shortest_line according to the
STREETCODE = STREETCODE.