<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>