Created
March 19, 2021 12:55
-
-
Save pigreco/f1705597c3515c21d81c64df1b46db09 to your computer and use it in GitHub Desktop.
here is the expression used in the Default widget
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( | |
distance( | |
overlay_nearest( | |
layer:='poligono', | |
expression:= $geometry )[0], $geometry) < | |
distance( | |
overlay_nearest( | |
layer:='linea', | |
expression:= $geometry )[0], $geometry),overlay_nearest( | |
layer:='poligono', | |
expression:= "nomePoly" )[0], | |
overlay_nearest( | |
layer:='linea', | |
expression:= "nomeLinea" )[0]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
geometry generator:
default widgets
in collaboration with Giulio Fattori