On 09/01/2018 12:08 AM, Rich Shepard wrote:
On Fri, 31 Aug 2018, Helmut Kudrnovsky wrote:

v.to.db option=length
length: line length

Helmut,

  This occurred to me a short time ago.

  I'm adding a 'length' column to the db, then run v.to.db. If need be, I'll
export the table to a text file, and write a 2-line gawk script to sum that
one column.

Don't forget that there's the v.univar module to get sum, mean, sd, etc of all features in a vector.
Also there's the excellent set of r.stream.* addons.  The r.stream.stats module might be especially suited here.
 

Carpe weekend,

Rich
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

-- 
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to