<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>In case someone wants to google for the " % " later: it's called
modulo operator (damn, took me half an hour to remember that)</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 03.03.21 19:20, Sebastian Gutwein
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAED_52o-MT+Td+ZznMXFaGacLqxLnrX+3Vwki0C9uH3+j7Ex8Q@mail.gmail.com">
<pre class="moz-quote-pre" wrap="">Sorry typo: "ELEV" :The attribute field that contains your elevation
On Wed, Mar 3, 2021 at 1:19 PM Sebastian Gutwein <a class="moz-txt-link-rfc2396E" href="mailto:bas@rdgland.com"><bas@rdgland.com></a> wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">I use rule based styling with this expression for my 100m contour filter
rule:
"ELEV" % 100 = 0
And then another rule that has the Else selected.
The formula is:
"ELEV" :The attribute field that contains your label
% : The remainder from division
100 : the divider
= 0 : the remainder should equal zero.
This filters all the 100m contours.
On Wed, Mar 3, 2021 at 1:01 PM Azzurra Lentini <a class="moz-txt-link-rfc2396E" href="mailto:azzurralentini@gmail.com"><azzurralentini@gmail.com></a>
wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">Hi to all,
I have extracted contours from a dtm raster 20 m resolution file and the
result is a vector file of contours with 20 m of interval between the
contours.
I would like to have two different symbols for these contours: for
example black colour and thickness 1 for the contours with interval of 100
m (0, 100, 200, 300 etc.) and grey colour and thickness 0.5 for the
contours 20, 40, 60, 80, 120, 140 .. etc.).
What can I do?
Normally I create another contours file only for the contours equidistant
100 m and I put a different symbol for the 2 layers.
Do you know other ways without the creation of another file?
maybe rule-based symbology?
Thank you, Azzurra
--
Lecturer GIS University "Roma Tre"
Consultant Environmental Risk Prevention and Hydrogeology
AZZURRA LENTINI
++++++++++++++++++++++++++
Italy Mobile Tel.: **(39) 338 24 40 676
++++++++++++++++++++++++++
SKYPE azzurrahydro
++++++++++++++++++++++++++
*azzurralentini@gmail.com <a class="moz-txt-link-rfc2396E" href="mailto:azzurralentini@gmail.com"><azzurralentini@gmail.com></a>*
*azzurra.lentini@uniroma3.it <a class="moz-txt-link-rfc2396E" href="mailto:azzurra.lentini@uniroma3.it"><azzurra.lentini@uniroma3.it></a> *
++++++++++++++++++++++++++
*Par respect pour l'environnement,*
*n'imprimez ce mail qu'en cas d'absolue nécessité*
_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-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>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
</blockquote>
</body>
</html>