<div dir="ltr">Hi Kirk,<div><br></div><div>Indeed, converting to vector and styling it using rule-based styling is an option. Having contour renderer for raster will avoid extra processing and data conversion.</div><div>With contour rendering of raster, you can also use "Resampling" for creating smooth contours on the fly.</div><div><br></div><div>@Azzura, unfortunately, labelling is not available at the moment for raster contour renderer. We may add it in future releases. For labeling vector contours, I recommend using this nice trick:</div><div><a href="https://twitter.com/totofiandaca/status/1222982773532712960">https://twitter.com/totofiandaca/status/1222982773532712960</a><br></div><div><a href="https://pigrecoinfinito.com/2020/01/31/qgis-come-allineare-le-etichette-delle-isoipse/">https://pigrecoinfinito.com/2020/01/31/qgis-come-allineare-le-etichette-delle-isoipse/</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:28, Kirk Schmidt <<a href="mailto:kirk@nortekresources.com">kirk@nortekresources.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>
    <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 href="https://gis.stackexchange.com/questions/259875/styling-contours-at-specific-numbers" target="_blank">https://gis.stackexchange.com/questions/259875/styling-contours-at-specific-numbers</a></p>
    <p><br>
    </p>
    <p>Kirk Schmidt<br>
    </p>
    <div>On 3/3/2021 2:15 PM, Saber Razmjooei
      wrote:<br>
    </div>
    <blockquote type="cite">
      <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" target="_blank">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" target="_blank">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">azzurralentini@gmail.com</a></span></u></b></p>
                              <p class="MsoNormal"><b><u><span><a href="mailto:azzurra.lentini@uniroma3.it" target="_blank">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">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>
        <br>
        <div><br>
        </div>
        -- <br>
        <div dir="ltr">
          <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">www.lutraconsulting.co.uk</a><br>
                            <br>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
Qgis-user mailing list
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
    </blockquote>
    <pre 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 href="mailto:kirk@nortekresources.com" target="_blank">kirk@nortekresources.com</a>
Web: <a href="http://www.nortekresources.com" target="_blank">www.nortekresources.com</a></pre>
  </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><br clear="all"><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">www.lutraconsulting.co.uk</a><br><span>+44 (0)7568 129733</span><br></div></div></div></div></div></div></div></div></div></div>