<html style="direction: ltr;">
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
    <style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
  </head>
  <body style="direction: ltr;"
    bidimailui-detected-decoding-type="latin-charset" bgcolor="#FFFFFF"
    text="#000000">
    I do this by getting the Strahler stream order for all stream
    reaches (using the GRASS r.stream.order addon). Then I display the
    streams with line width determined by the stream order. Looks pretty
    nice :-)<br>
    <shameless plug><br>
    <a class="moz-txt-link-freetext" href="http://www.surfaces.co.il/strahler-stream-order-in-grass/">http://www.surfaces.co.il/strahler-stream-order-in-grass/</a><br>
    </shameless plug><br>
    <br>
    <div class="moz-cite-prefix">On 07/14/2015 11:08 PM, Luca Galuppini
      wrote:<br>
    </div>
    <blockquote
cite="mid:CA+OpnTseRwyFH-Yi=A7T00iFY0QDPbi1+MMUPZFnz+FNSFsF7Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>
                <div>
                  <div>
                    <div>Dear all<br>
                    </div>
                    i have this idea of rendering a river network so
                    that each river starts as a very thin blue line, and
                    the line width increases little by little as the
                    river goes.<br>
                  </div>
                  i wouldn't like to modify the original file (eg
                  cutting rivers in pieces and give a different width to
                  each piece) but all rivers are digitized with the
                  right direction so i was wondering if there is an
                  expression to teach qgis what is the start end of a
                  river, and assign a wider line for any given distance,
                  for example:<br>
                </div>
                from start to 200m - line width 0.1<br>
              </div>
              from 200m to 400m - line width 0.2<br>
            </div>
            from 400m and over - line width 0.3<br>
          </div>
          i think this is an interesting problem because i cannot find a
          "from - to" command in qgis expression language, neither i
          know how to properly exploit the line direction with code,
          which would come useful in many other ways...<br>
        </div>
        any python expert out there can help?<br>
        <div>
          <div>
            <div>
              <div>
                <div>
                  <div>
                    <div>
                      <div>
                        <div class="gmail_extra"><br>
                          <br>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      This mail was received via Mail-SeCure System.<br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>
This mail was received via Mail-SeCure System.


</pre>
    </blockquote>
    <br>
  </body>
</html>