I have a line vector where each segment has a randomly assigned direction. The image shows an example (which consists of two connected lines), How to set the direction of each line so that it is consistent? That is, connected lines have the same direction? The line vector does not have a direction attribute. This information is somehow stored in the GPKG file in some other way. Continue reading...