<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-AU" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Ciao Carlo,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I’m a new QGIS user, I’m intrigued by your last paragraph:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">You may also assume some "intelligence" in the tools you use may provide som help. It's more convenient to keep your streams in a network conscious database
 like spatialite instead of storing into shapefiles.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Can you elaborate on the meaning of  “network conscious database” or point me to some links to get me started, this sounds like a very useful capability.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Martin.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> qgis-user-bounces@lists.osgeo.org [mailto:qgis-user-bounces@lists.osgeo.org]
<b>On Behalf Of </b>Carlo A. Bertelli (Charta s.r.l.)<br>
<b>Sent:</b> Wednesday, 15 July 2015 4:24 PM<br>
<b>To:</b> qgis-user@lists.osgeo.org<br>
<b>Subject:</b> Re: [Qgis-user] rivers growing in size as they go downhill<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Ciao Luca,<o:p></o:p></p>
</div>
<p class="MsoNormal">if you mean cutting the stream and manually assigning a width to every arc, well, it's not the right procedure anyway, but if you deal with a network as a network you should allow waterflow grow for other reasons besides going downhill.
 Every node brings affluents so more water becomes a bigger stream. So classifying the rank of the network is the proper thing to do. You don't have to do it manually, it's a directed planar graph so there are tools to deal with it (plugings and processing).<o:p></o:p></p>
</div>
<p class="MsoNormal">If you look at old cartography, you may argue streams grow gradually and that is true, but there are tiny gutters and invisible kennels feeding them...<o:p></o:p></p>
</div>
<p class="MsoNormal">Yes you may desire to kill all hydrologists, but this is a graph and the easiest thing is assuming the size of the stream depends on the rank of the starting node.<o:p></o:p></p>
</div>
<p class="MsoNormal">You may also assume some "intelligence" in the tools you use may provide som help. It's more convenient to keep your streams in a network conscious database like spatialite instead of storing into shapefiles.<o:p></o:p></p>
</div>
<p class="MsoNormal">c<o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Tue, 14 Jul 2015 at 22:08:45, <<a href="mailto:luca.galuppini@gmail.com">luca.galuppini@gmail.com</a>> wrote:<o:p></o:p></p>
<p class="MsoNormal">Dear all<br>
i have this idea of rendering a river network so that each river starts as<br>
a very thin blue line, and the line width increases little by little as the<br>
river goes.<br>
i wouldn't like to modify the original file (eg cutting rivers in pieces<br>
and give a different width to each piece) but all rivers are digitized with<br>
the right direction so i was wondering if there is an expression to teach<br>
qgis what is the start end of a river, and assign a wider line for any<br>
given distance, for example:<br>
from start to 200m - line width 0.1<br>
from 200m to 400m - line width 0.2<br>
from 400m and over - line width 0.3<br>
i think this is an interesting problem because i cannot find a "from - to"<br>
command in qgis expression language, neither i know how to properly exploit<br>
the line direction with code, which would come useful in many other ways...<br>
any python expert out there can help?<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osgeo.org/pipermail/qgis-user/attachments/20150714/53ba1c74/attachment-0001.html" target="_blank">http://lists.osgeo.org/pipermail/qgis-user/attachments/20150714/53ba1c74/attachment-0001.html</a>><o:p></o:p></p>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br clear="both">
This email is intended for the named recipient only.  The information it contains may be confidential.  If you are not the intended recipient you must not reproduce or distribute any part of this email, disclose its contents to any other party or take any action in reliance on it.  If you have received this email in error, please contact the sender immediately and delete the message.<BR>
</body>
</html>