[GIS] Draw two separate lines from A to B and B to A

arcgis-desktoplinepolyline-creationpythonr

I have an Origin-Destination table like this

Origin Destination Value
A B 10
B A 100
A C 120
...

For all the locations A, B, C… I have another table indicating their location (Lat and Lon)

Is there any way to draw two separate lines between A and B so that I can visualize the directionality and distinguish the flow volume between these two places?

Thanks!

Best Answer

FlowMapper Plugin for QGIS (v0.2.3) can exactly do what you want. Using a white space delineated interaction matrix (txt) and a set of coordinates (txt) you can create two way flow line segments.

e.g. Assuming that we have 3 nodes A, B, C

txt input coordinates file (long, lat)
40.789 30.987
40.123 30.456
39.678 29.741

txt interaction square matrix (From node -> To node)
0 200 300
50 0 150
10 20 0

http://plugins.qgis.org/plugins/FlowMapper/

Related Question