I am just trying to follow Anita Graser's examples in https://anitagraser.com/2017/04/08/a-guide-to-geometry-generator-symbol-layers/ - where the "Creating a line between features in different layers" part caught my attention.
Is there a way to select more than one feature based on an adequate function using wildcards or expressions for numerical fields ... like
ReturnAnyFeatrue('from_layer', 'with_field', >= 200) ?
get_feature just returns the first element that matches the "attribute"/"value" settings - thus the following expression returns a set of lines from any object of the current layer to a specific STATION - i.e. 'Millennium Tower':
make_line( centroid( $geometry ), geometry( get_feature( 'Citybike', 'STATION', 'Millennium Tower' ) ) )
I am interestet in a way to draw geometry-generator-lines from current layers' points to any station starting with - for instance - "Mi" based on an expression like 'Mi*'
is there a way that just makes use of geometry generator and simple expression ?
(unfortunately, there is still a lack of documentation and examples concerning geometry generator ... )