<html style="direction: ltr;">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body bidimailui-charset-is-forced="true" style="direction: ltr;"
bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">On 09/01/2018 12:08 AM, Rich Shepard
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:alpine.LNX.2.20.1808311406470.29881@salmo.appl-ecosys.com">On
Fri, 31 Aug 2018, Helmut Kudrnovsky wrote:
<br>
<br>
<blockquote type="cite">v.to.db option=length
<br>
length: line length
<br>
</blockquote>
<br>
Helmut,
<br>
<br>
This occurred to me a short time ago.
<br>
<br>
I'm adding a 'length' column to the db, then run v.to.db. If
need be, I'll
<br>
export the table to a text file, and write a 2-line gawk script to
sum that
<br>
one column.
<br>
</blockquote>
<br>
Don't forget that there's the v.univar module to get sum, mean, sd,
etc of all features in a vector.<br>
Also there's the excellent set of r.stream.* addons. The
r.stream.stats module might be especially suited here. <br>
<br>
<blockquote type="cite"
cite="mid:alpine.LNX.2.20.1808311406470.29881@salmo.appl-ecosys.com">
<br>
Carpe weekend,
<br>
<br>
Rich
<br>
_______________________________________________
<br>
grass-user mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<br>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918</pre>
</body>
</html>