<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Saber:</p>
    <p>You can do this directly in symbology. See link below, Use Rule
      Based Symbology and "Elev" % 100= 0 to separate all the contours
      that are multiples of 100.  Set your line symbols and you should
      be good to go.<br>
    </p>
    <p><a class="moz-txt-link-freetext" href="https://gis.stackexchange.com/questions/259875/styling-contours-at-specific-numbers">https://gis.stackexchange.com/questions/259875/styling-contours-at-specific-numbers</a></p>
    <p><br>
    </p>
    <p>Kirk Schmidt<br>
    </p>
    <div class="moz-cite-prefix">On 3/3/2021 2:15 PM, Saber Razmjooei
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAH=WbRBh8WG0zjfXd+8E5fCPg9gk_=3JJnKr7YpTnkaSvmeuAg@mail.gmail.com">
      <div dir="ltr">
        <div dir="ltr">Hi Azzurra,
          <div><br>
          </div>
          <div>You can use Raster styling to display it as contours with
            minor and major contours:</div>
          <div><a
href="https://www.qgis.org/en/site/forusers/visualchangelog314/index.html#feature-raster-layer-contour-renderer"
              moz-do-not-send="true">https://www.qgis.org/en/site/forusers/visualchangelog314/index.html#feature-raster-layer-contour-renderer</a><br>
          </div>
          <div><br>
          </div>
          <div>Kind regards</div>
          <div>Saber</div>
        </div>
        <br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">On Wed, 3 Mar 2021 at 18:01,
            Azzurra Lentini <<a
              href="mailto:azzurralentini@gmail.com"
              moz-do-not-send="true">azzurralentini@gmail.com</a>>
            wrote:<br>
          </div>
          <blockquote class="gmail_quote">
            <div dir="ltr">
              <div>
                <p class="MsoNormal"><span lang="EN-GB">Hi to all,</span></p>
                <p class="MsoNormal"><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"><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"><span lang="EN-GB">What can I
                    do? </span></p>
                <p class="MsoNormal"><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"><span lang="EN-GB">Do you know
                    other ways without the creation of another file?
                    maybe rule-based symbology?</span></p>
                <p class="MsoNormal"><span><br>
                  </span></p>
                <p class="MsoNormal"><span>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"><b><u><span><a
                                        href="mailto:azzurralentini@gmail.com"
                                        target="_blank"
                                        moz-do-not-send="true">azzurralentini@gmail.com</a></span></u></b></p>
                              <p class="MsoNormal"><b><u><span><a
                                        href="mailto:azzurra.lentini@uniroma3.it"
                                        target="_blank"
                                        moz-do-not-send="true">azzurra.lentini@uniroma3.it</a> </span></u></b><b><u><span>  </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"
              moz-do-not-send="true">Qgis-user@lists.osgeo.org</a><br>
            List info: <a
              href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
              rel="noreferrer" target="_blank" moz-do-not-send="true">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" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
          </blockquote>
        </div>
        <br>
        <div><br>
        </div>
        -- <br>
        <div dir="ltr" class="gmail_signature">
          <div dir="ltr">
            <div>
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div>
                      <div dir="ltr">
                        <div>
                          <div dir="ltr">Saber Razmjooei<br>
                          </div>
                          <div><a
                              href="http://www.lutraconsulting.co.uk"
                              target="_blank" moz-do-not-send="true">www.lutraconsulting.co.uk</a><br>
                            <br>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <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>
    <pre class="moz-signature" cols="72">-- 
Kirk Schmidt, MScF, BScF, RPF
General Manager
Nortek Resource Solutions Inc.
RR # 1
Thorburn, NS
B0K 1W0
Tel (902) 922.3607
Email: <a class="moz-txt-link-abbreviated" href="mailto:kirk@nortekresources.com">kirk@nortekresources.com</a>
Web: <a class="moz-txt-link-abbreviated" href="http://www.nortekresources.com">www.nortekresources.com</a></pre>
  </body>
</html>