I have recorded flight paths of birds as lines. Now I want to transform the lines to points, which represent the bird's position in a minute interval. For this, I want to divide the lines by the time I have observed the flight.
So a flight track I could watch for 5 minutes I want to divide into 5 parts, a track I have watched for 3 minutes, I want to divide into 3 parts and so on. Afterwards, I take the middle point of these segments as the flight position in the respective minute.
My first approach was to calculate the length of the segments ($length/minutes
) and store the information in a new field (=segment
). Afterwards, I used the plugin 'Station lines'
to set lines after each segment. Then I used the QGIS tool 'Divide lines with lines'
.
First it seemed to work, but then I realized that the function also cut the line at every self- intersection. As the flight tracks contain many loops I ended up with far more segments as expected.
Does anybody know a simple and safe way to split lines into proportional parts?