I often want to join sequences of GPS points to form sets of lines that represent periods of at-sea survey effort.
My GPS point file includes an integer
"Order" field with unique values, and an integer
"Order" specifies the sequence for points to be joined;
"Leg" specifies that points with the same value should be grouped into separate paths / lines. The CRS is WGS84.
I've used Points2One and Points To Paths plugins to do this successfully in the past. But in recent versions of QGIS 3, the processing toolbox's "Points to Path" joins all points in order as a single line only. The
"Leg" field appears to be ignored.
I keep the option box for closed paths un-ticked. I've tried different tables, geographical and projected CRS, converted
"Leg" fields between integer and text, but always the same result.
Can anyone tell me whether I'm making a mistake, if this is a bug, or an unintended application of points to path? And if there is a simple workaround I can use. (Please, if a workaround involves applying code, include an explanation of how to add and run the code...). I'm currently using QGIS 3.22.1-Białowieża.
Here is a link to a cut down copy of my GPS points file - I would like it to form two separate lines (leg 20 and leg 21): https://we.tl/t-5UbL8YJ59R