Note: This document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade, and read the current manual page.
Note: This addon document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade your GRASS GIS installation, and read the current addon manual page.
The user can determine the nature of the curve with the minimum_offset and maximum_offset parameters. The longest curve's maximum offset from a straight line is equal to the value of maximum_offset in map units. The other curves maximum offset from a straight line is calulated as length(x)/max_length * max_offset. In other words, shorter lines are less curved than longer lines. However, any line's maximum offset is always at least minimum_offset from the straight line.
v.extract census_wake2000 cat=1,52,70,99,101 type=centroid out=tmp v.type tmp from=centroid to=point out=points echo >> flows.txt << EOF > from,to,volume > 52,1,100 > 1,52,50 > 70,1,50 > 1,70,50 > 99,1,66 > 1,99,100 > 101,1,25 > 1,101,75 > EOF v.net.curvedarcs in=points flow=flows.txt sep=comma out=flows minoff=0 maxoff=2000 d.vect map=flows display=shape,dir width_column=volume width_scale=0.05 size=10 d.vect map=points display=shape,cat fill_color=red icon=basic/circle label_bcolor=black label_size=12 yref=bottom
Using different amount of curvature:
v.net.curvedarcs in=points flow=flows.txt sep=comma out=flows minoff=150 maxoff=5000 --o d.vect map=flows display=shape,dir width_column=volume width_scale=0.05 size=10 d.vect map=points display=shape,cat fill_color=red icon=basic/circle label_bcolor=black label_size=12 yref=bottom
Available at: v.net.curvedarcs source code (history)
Latest change: Monday Jun 28 07:54:09 2021 in commit: 1cfc0af029a35a5d6c7dae5ca7204d0eb85dbc55
Note: This document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade, and read the current manual page.
Note: This addon document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade your GRASS GIS installation, and read the current addon manual page.
Main index | Vector index | Topics index | Keywords index | Graphical index | Full index
© 2003-2023 GRASS Development Team, GRASS GIS 7.8.9dev Reference Manual