Answer by BERA for Forbid create line between the same point through geometry...
You dont need to use geometry by expression if you are going to use PyQGIS anyway.With itertools.combinations you can generate all point combinations, then build linestrings between them:from itertools...
View ArticleForbid create line between the same point through geometry expression
I have a point layer and I create line between its points (like a graph) through geometry by expressioncollect_geometries( array_foreach( aggregate('point_layer','array_agg',$geometry),...
View Article
More Pages to Explore .....