<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Dear Kenneth</p>
    <p>db.execute might be an option to fill a new column with what you
      want. I am not an SQL expert, but I suppose it is possible to
      concatenate the right strings if you do it for each order
      separately and count the number of currents first.</p>
    <p>Cheers, <br>
    </p>
    <p>Mira<br>
    </p>
    <div class="moz-cite-prefix">On 10/12/2020 17.15, Kenneth Roy
      Cabrera Torres wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAH1GdN2UoUtdGH=-Jv9ASz8dB9gCnB9LASKRrei0NWibRkP3hQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Dear GRASS users:<br>
        <br>
        Can you give any suggestions to solve this problem?<br>
        <br>
        I have an ordered dataset of segments of river currents output
        from r.stream.order command.<br>
        I will like to add a column to this dataset that identifies each
        current according to Horton ordering.<br>
        I mean it actually identifies the Horton number. But what I want
        to do is to separate each <br>
        Horton current from each order. For example, if I have, say 4
        Horton currents of order 5,<br>
        then I will like to have an additional column that identifies
        each Horton current (5-1, 5-2, ..., 5-4).<br>
        <br>
        I try with v.build.polyline and indeed it separates the
        individual currents of the same<br>
        Horton order. But I don't know how to incorporate that new cat
        ID to the current segments' dataset.<br>
        <br>
        Thank you for your help.<br>
        <div><br>
        </div>
        -- <br>
        <div dir="ltr" data-smartmail="gmail_signature">Kenneth Roy
          Cabrera Torres<br>
          Cel 315 504 9339</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Dr. Mira Kattwinkel
Quantitative Landscape Ecology
iES Landau, Institute for Environmental Sciences
University of Koblenz-Landau
Fortstraße 7
76829 Landau
Germany
Phone: + 49 6341 280-31553
Office: Building I, Room 2.02</pre>
  </body>
</html>