<span>Hello,<br>I have written for my use a simple script that lets the user draw a path on a map (like r.profile, on which the script is built) and then outputs the path's length, cumulative uphill and downhill climb, highest and lowest altitudes, maximum and average slope (up and down).
<br>Unfortunately I was not able to make it work with ash, because (in my understanding) ash does not support arrays. I am also thinking about rewriting everything in C or Tcl.<br>Te script is attached to this email, in case it can be of any interest to anybody.
<br>Regards and happy new year,<br>Stefano.</span><br>