<div dir="ltr">Sorry typo: "ELEV" :The attribute field that contains your elevation</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 3, 2021 at 1:19 PM Sebastian Gutwein <<a href="mailto:bas@rdgland.com">bas@rdgland.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I use rule based styling with this expression for my 100m contour filter rule: <div>"ELEV" % 100 = 0 </div><div>And then another rule that has the Else selected. </div><div>The formula is:</div><div>"ELEV" :The attribute field that contains your label</div><div>% : The remainder from division </div><div>100 : the divider</div><div>= 0 : the remainder should equal zero.   </div><div>This filters all the 100m contours. </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 3, 2021 at 1:01 PM Azzurra Lentini <<a href="mailto:azzurralentini@gmail.com" target="_blank">azzurralentini@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif"><p class="MsoNormal" style="margin:0in 0in 10pt;line-height:115%;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-GB">Hi to all,</span></p>

<p class="MsoNormal" style="margin:0in 0in 10pt;line-height:115%;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-GB">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. </span></p>

<p class="MsoNormal" style="margin:0in 0in 10pt;line-height:115%;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-GB">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.).</span></p>

<p class="MsoNormal" style="margin:0in 0in 10pt;line-height:115%;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-GB">What can I
do? </span></p>

<p class="MsoNormal" style="margin:0in 0in 10pt;line-height:115%;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-GB">Normally I
create another contours file only for the contours equidistant 100 m and I put
a different symbol for the 2 layers. </span></p>

<p class="MsoNormal" style="margin:0in 0in 10pt;line-height:115%;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-GB">Do you know
other ways without the creation of another file? maybe rule-based symbology?</span></p><p class="MsoNormal" style="margin:0in 0in 10pt;line-height:115%;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:11pt"><br></span></p><p class="MsoNormal" style="margin:0in 0in 10pt;line-height:115%;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:11pt">Thank you, Azzurra </span></p></div><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Lecturer GIS University "Roma Tre"<br></div><div dir="ltr">Consultant Environmental Risk Prevention and Hydrogeology<br>AZZURRA LENTINI </div><div dir="ltr">++++++++++++++++++++++++++<br>Italy Mobile Tel.: **(39) 338 24 40 676<br>++++++++++++++++++++++++++<br>SKYPE azzurrahydro<br>++++++++++++++++++++++++++</div><div><p class="MsoNormal" style="margin-bottom:0.0001pt;background-image:initial;background-position:initial;background-repeat:initial;line-height:normal"><b><u><span style="font-size:12pt;font-family:Arial,sans-serif;color:blue"><a href="mailto:azzurralentini@gmail.com" style="color:rgb(17,85,204)" target="_blank">azzurralentini@gmail.com</a></span></u></b></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;background-image:initial;background-position:initial;background-repeat:initial"><b><u><span style="font-size:12pt;font-family:Arial,sans-serif;color:blue"><a href="mailto:azzurra.lentini@uniroma3.it" style="color:rgb(17,85,204)" target="_blank">azzurra.lentini@uniroma3.it</a> </span></u></b><b><u><span style="font-size:12pt;font-family:Arial,sans-serif;color:blue">  </span></u></b><br></p></div><div dir="ltr">++++++++++++++++++++++++++<br>*Par respect pour l'environnement,*<br><br>*n'imprimez ce mail qu'en cas d'absolue nécessité*</div></div><div dir="ltr"> <br><br><br><br><br></div></div></div></div></div></div></div></div>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div>
</blockquote></div>