I have a CSV file, or point data file which includes information about line vectors which I have previously calculated. This file is outlined as such:
x, y, dx, dy, length, angle(east_from_north) 1,1,1,1,1,1 2,2,2,2,2,2 ... n,n,n,n,n,n
x, y are the co-ordinates of each point;
dX, dY are the Cartesian components of the line;
length is the length/magnitude, and
angle(east_from_north) is the bearing of the line (east 0degrees, north 90degrees).
I also have the the original set of
x, y data from which I calculated the
dX, dY components,
angle using some python trig, if that would help this process. For example:
x1, y1, x2, y2 1,1,1,1 2,2,2,2 ... n,n,n,n
I would like to produce lines from each point using the
x, y values as the originating point with the
angle creating the length and direction of the line.
I have used a QGIS plugin,
Vector Field Renderer to produce lines with arrowheads depicting the 'magnitude' and direction using this information which has been useful for one part of my analysis; however this does not transform the point data into polylines, only produces a line symbol -- for example:
Effectively I would like to reproduce this output, but as a polyline file for which I can do further analysis on. The line does not need to have arrow heads.
Edit: Solutions involving QGIS, GRASS GIS, GDAL, ArcGIS or Python/ ArcPy would be greatly received. Though, as I am currently learning (and a bear of little brain) a well-commented/ walkthrough-esque solution would be amazing!