[GRASS-user] Angle between segments of a polyline

Hamish hamish_b at yahoo.com
Fri Jul 30 04:40:58 EDT 2010


Rainer wrote:
> a friend of mine wants (needs?) to determine the angle
> between segments in an ESRI polyline (line vector feature).
> As there does not seem to be an easy way in ArcGIS 9.2, I
> thought about askeng here:
> 
> Is there way of calculating these angles between the
> different line segments in grass?

first split the poly line up into individual segments with
  v.split vertices=1

then upload the slope of each line into the attribute table with
  v.to.db option=azimuth

finally compare the angle between each connecting segments.


Hamish



      


More information about the grass-user mailing list