<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi <span
      style="font-size:10.0pt;font-family:"Verdana",sans-serif">Noëmi
      <br>
      <br>
      In relation to styling and speed, it depends on:<br>
    </span>
    <ul>
      <li><span
          style="font-size:10.0pt;font-family:"Verdana",sans-serif"> the
          complexity of the rules</span></li>
      <li><span
          style="font-size:10.0pt;font-family:"Verdana",sans-serif">Indexing
          the fields you are using for styling.</span></li>
    </ul>
    <p>As to comparison between Rule based and Categorising, they would
      both be pretty much the same, I often utilise categorising to
      initially style a layer, and then change it to a Rule Based, for
      fine tuning.<br>
      They are basically the same thing, but rule based offers you a
      little more control. Again, the complexity of the style and how
      well you have indexed your database makes a difference.</p>
    <p>Regards,<br>
    </p>
    <p>Richard.<br>
      <br>
    </p>
    <span
      style="font-size:10.0pt;font-family:"Verdana",sans-serif"><br>
    </span><br>
    <div class="moz-cite-prefix">On 31/01/2018 07:02, Sturm Noemi wrote:<br>
    </div>
    <blockquote cite="mid:df11d57f520949a2b66f0bb91639bad5@bd.so.ch"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Sprechblasentext Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma",sans-serif;
        mso-fareast-language:EN-US;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.SprechblasentextZchn
        {mso-style-name:"Sprechblasentext Zchn";
        mso-style-priority:99;
        mso-style-link:Sprechblasentext;
        font-family:"Segoe UI",sans-serif;
        mso-fareast-language:EN-US;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma",sans-serif;
        mso-fareast-language:EN-US;}
p.BalloonText, li.BalloonText, div.BalloonText
        {mso-style-name:"Balloon Text";
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
span.E-MailFormatvorlage22
        {mso-style-type:personal;
        font-family:"Verdana",sans-serif;
        color:windowtext;}
span.E-MailFormatvorlage23
        {mso-style-type:personal;
        font-family:"Verdana",sans-serif;
        color:#44546A;}
span.E-MailFormatvorlage24
        {mso-style-type:personal;
        font-family:"Verdana",sans-serif;
        color:windowtext;}
span.E-MailFormatvorlage25
        {mso-style-type:personal-reply;
        font-family:"Verdana",sans-serif;
        color:#44546A;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif">Hi
            Lene<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif">Thank
            you for your answer.
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif">Actually
            I would like to know if either rule-based styling or
            categorized styling renders faster.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="FR-CH">e.g.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="FR-CH">Postgis-Layer with attribute "size". Attribute
            values of "size" are "small", "middle", "big".<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif">In
            categorized I would categorize by "size". In rule-based I
            would write 3 entries like "size" = 'small'.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif">Regards,<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif">Noëmi
            Sturm</span><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#44546A"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #E1E1E1
            1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <p class="MsoNormal"><b><span
                  style="mso-fareast-language:DE-CH" lang="DE">Von:</span></b><span
                style="mso-fareast-language:DE-CH" lang="DE"> Lene
                Fischer [<a class="moz-txt-link-freetext" href="mailto:lfi@ign.ku.dk">mailto:lfi@ign.ku.dk</a>]
                <br>
                <b>Gesendet:</b> Dienstag, 30. Januar 2018 21:35<br>
                <b>An:</b> Sturm Noemi <a class="moz-txt-link-rfc2396E" href="mailto:Noemi.Sturm@bd.so.ch"><Noemi.Sturm@bd.so.ch></a>;
                '<a class="moz-txt-link-abbreviated" href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a>'
                <a class="moz-txt-link-rfc2396E" href="mailto:qgis-user@lists.osgeo.org"><qgis-user@lists.osgeo.org></a><br>
                <b>Betreff:</b> RE: styling type<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="DA">Hi
          </span><span
style="font-size:10.0pt;font-family:"Verdana",sans-serif;mso-fareast-language:DE-CH"
            lang="FR-CH">Noëmi,</span><span lang="DA"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana",sans-serif;mso-fareast-language:DE-CH"
            lang="FR-CH"> </span><span lang="DA"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana",sans-serif;mso-fareast-language:DE-CH"
            lang="FR-CH">Use Classifying</span><span lang="DA"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana",sans-serif;mso-fareast-language:DE-CH"
            lang="FR-CH">Look at QGIS training manual:
          </span><a moz-do-not-send="true"
href="https://docs.qgis.org/2.18/en/docs/training_manual/vector_classification/index.html"><span
style="font-size:10.0pt;font-family:"Verdana",sans-serif;mso-fareast-language:DE-CH"
              lang="FR-CH">https://docs.qgis.org/2.18/en/docs/training_manual/vector_classification/index.html</span></a><span
            lang="DA"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana",sans-serif;mso-fareast-language:DE-CH"
            lang="FR-CH">Or  Klas Karlssons multiple videos</span><span
            lang="DA"><o:p></o:p></span></p>
        <p class="MsoNormal"><a moz-do-not-send="true"
href="https://www.youtube.com/results?search_query=klas+karlsson+qgis+style"><span
style="font-size:10.0pt;font-family:"Verdana",sans-serif"
              lang="DA">https://www.youtube.com/results?search_query=klas+karlsson+qgis+style</span></a><span
            lang="DA"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="DA">Or mine (in danish ;-))</span><span lang="DA"><o:p></o:p></span></p>
        <p class="MsoNormal"><a moz-do-not-send="true"
            href="https://www.youtube.com/watch?v=y8XwTs5nM20"><span
              style="font-size:10.0pt;font-family:"Verdana",sans-serif"
              lang="DA">https://www.youtube.com/watch?v=y8XwTs5nM20</span></a><span
            lang="DA"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="DA"> </span><span lang="DA"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="DA">Regards</span><span lang="DA"><o:p></o:p></span></p>
        <div>
          <p class="MsoNormal" style="line-height:8.0pt"><span
style="font-size:7.5pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:DA"
              lang="EN-GB"> </span><span lang="DA"><o:p></o:p></span></p>
          <p class="MsoNormal" style="line-height:8.0pt"><b><span
style="font-size:7.5pt;font-family:"Verdana",sans-serif;color:gray"
                lang="EN-GB">Lene Fischer</span></b><span lang="DA"><o:p></o:p></span></p>
          <p class="MsoNormal" style="line-height:8.0pt"><span
style="font-size:7.5pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:DA"
              lang="EN-GB">Associate Professor</span><span lang="DA"><o:p></o:p></span></p>
          <p class="MsoNormal" style="line-height:8.0pt"><span
style="font-size:7.5pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:DA"
              lang="EN-GB"> </span><span lang="DA"><o:p></o:p></span></p>
          <p class="MsoNormal" style="line-height:8.0pt"><b><span
style="font-size:7.5pt;font-family:"Verdana",sans-serif;color:gray"
                lang="EN-GB">University of Copenhagen</span></b><span
              lang="DA"><o:p></o:p></span></p>
          <p class="MsoNormal" style="line-height:8.0pt"><span
style="font-size:7.5pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:DA"
              lang="EN-GB">Department of Geoscience and Natural Resource
              Management</span><span lang="DA"><o:p></o:p></span></p>
          <p class="MsoNormal" style="line-height:8.0pt"><span
style="font-size:7.5pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:DA"
              lang="EN-GB">Forest and Landscape College</span><span
              lang="DA"><o:p></o:p></span></p>
          <p class="MsoNormal" style="line-height:8.0pt"><span
style="font-size:7.5pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:DA"
              lang="EN-GB">Nødebovej 77a</span><span lang="DA"><o:p></o:p></span></p>
          <p class="MsoNormal" style="line-height:8.0pt"><span
style="font-size:7.5pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:DA"
              lang="DA">3480 Fredensborg</span><span lang="DA"><o:p></o:p></span></p>
          <p class="MsoNormal" style="line-height:8.0pt"><span
style="font-size:7.5pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:DA"
              lang="DA">Denmark</span><span lang="DA"><o:p></o:p></span></p>
          <p class="MsoNormal" style="line-height:8.0pt"><span
style="font-size:7.5pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:DA"
              lang="DA"> </span><span lang="DA"><o:p></o:p></span></p>
          <p class="MsoNormal" style="line-height:8.0pt"><span
style="font-size:7.5pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:DA"
              lang="DA"> </span><span lang="DA"><o:p></o:p></span></p>
          <p class="MsoNormal" style="line-height:8.0pt"><span
style="font-size:7.5pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:DA"
              lang="DA">MOB +45 40115084</span><span lang="DA"><o:p></o:p></span></p>
          <p class="MsoNormal" style="mso-line-height-alt:8.0pt"><a
              moz-do-not-send="true" href="mailto:lfi@ign.ku.dk"
              title="lfi@ign.ku.dk"><span
style="font-size:7.5pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:DA;text-decoration:none"
                lang="DA"><a class="moz-txt-link-abbreviated" href="mailto:lfi@ign.ku.dk">lfi@ign.ku.dk</a></span></a><span lang="DA"><o:p></o:p></span></p>
          <p class="MsoNormal" style="line-height:8.0pt"><span
style="font-size:7.5pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:DA"
              lang="DA"> </span><span lang="DA"><o:p></o:p></span></p>
          <p class="MsoNormal" style="line-height:8.0pt"><span
style="font-size:7.5pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:DA"
              lang="DA"> </span><span lang="DA"><o:p></o:p></span></p>
          <p class="MsoNormal" style="line-height:12.0pt"><span
style="font-size:7.5pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:DA"
              lang="EN-GB"> 
            </span><span lang="DA"><o:p></o:p></span></p>
          <p class="MsoNormal" style="line-height:8.0pt"><span
style="font-size:7.5pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:DA"
              lang="EN-GB"> </span><span lang="DA"><o:p></o:p></span></p>
          <p class="MsoNormal" style="mso-line-height-alt:8.0pt"><a
              moz-do-not-send="true" href="@Lene_Fischer"><span
style="font-size:7.5pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:DE-CH;text-decoration:none"><img
                  style="width:.2604in;height:.2604in"
                  id="Picture_x0020_3"
                  src="cid:part5.06050208.05040105@opw.ie"
alt="mailbox:///G:/MailArchive/Inbox.sbd/Filtered%20Mail.sbd/02-QGIS%20Mailing%20List?number=506087&header=quotebody&part=1.1.2&filename=image001.png"
                  border="0" height="25" width="25"></span></a><span
              lang="DA"><o:p></o:p></span></p>
          <p class="MsoNormal" style="line-height:8.0pt"><span
style="font-size:7.5pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:DA"
              lang="EN-GB"> </span><span lang="DA"><o:p></o:p></span></p>
          <p class="MsoNormal" style="line-height:8.0pt"><span
style="font-size:7.5pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:DA"
              lang="EN-GB"> </span><span lang="DA"><o:p></o:p></span></p>
        </div>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="DA"> </span><span lang="DA"><o:p></o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;mso-fareast-language:DA"
                  lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;mso-fareast-language:DA"
                lang="EN-US"> Qgis-user [</span><a
                moz-do-not-send="true"
                href="mailto:qgis-user-bounces@lists.osgeo.org"><span
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;mso-fareast-language:DA"
                  lang="EN-US"><a class="moz-txt-link-freetext" href="mailto:qgis-user-bounces@lists.osgeo.org">mailto:qgis-user-bounces@lists.osgeo.org</a></span></a><span
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;mso-fareast-language:DA"
                lang="EN-US">]
                <b>On Behalf Of </b>Sturm Noemi<br>
                <b>Sent:</b> 30. januar 2018 07:26<br>
                <b>To:</b> '<a class="moz-txt-link-abbreviated" href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a>'<br>
                <b>Subject:</b> [Qgis-user] styling type</span><span
                lang="DA"><o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><span lang="DA"> <o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="FR-CH">Hi</span><span lang="DA"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="FR-CH"> </span><span lang="DA"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="FR-CH">I'd like to style objects of a postGIS-Layer
            upon values of a single attribute.
          </span><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif">Which
            styling type (rule-based or categorized) should I use in
            respect of rendering performance (QGIS 2.18 and QGIS Server
            2.18) ?</span><span lang="DA"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif"> </span><span
            lang="DA"><o:p></o:p></span></p>
        <p class="MsoNormal"
          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:10.0pt;font-family:"Verdana",sans-serif;mso-fareast-language:DE-CH">Thanks,</span><span
            lang="DA"><o:p></o:p></span></p>
        <p class="MsoNormal"
          style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><span
style="font-size:10.0pt;font-family:"Verdana",sans-serif;mso-fareast-language:DE-CH">Noëmi
            Sturm</span><span lang="DA"><o:p></o:p></span></p>
        <p class="MsoNormal"> <span lang="DA"><o:p></o:p></span></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <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>
    <br>
    <div class="moz-signature">-- <br>
      <b><u>Richard McDonnell</u></b><br>
      <b><small><small><small>GIS Specialist PgD GIS AssocSCSI</small></small></small></b><br>
      <b><small>OPW FRM Data Management</small></b><br>
      <b><small>52 Stephens Green, Dublin 2.</small></b><br>
      <small><small>TEL: 01 6476543</small></small></div>
  
<p>
<a href="http://www.opw.ie/"><img src="http://www.opw.ie/en/media/opw-logo-december-2016.gif" width="405" height="225" /></a>
</p>
<br /><br />Email Disclaimer: <a href="http://www.opw.ie/en/disclaimer/">http://www.opw.ie/en/disclaimer/</a>

</body>
</html>