Quantcast
Channel: Forbid create line between the same point through geometry expression - Geographic Information Systems Stack Exchange
Browsing all 2 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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 Article



Forbid 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
Browsing all 2 articles
Browse latest View live




Latest Images