<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Alvaro,<br>
      Thanks for explaining this!<br>
      greetings,<br>
      Janneke<br>
      <br>
      On 15/05/2016 03:05, A Huarte wrote:<br>
    </div>
    <blockquote
      cite="mid:870384439.3789261.1463270753122.JavaMail.yahoo@mail.yahoo.com"
      type="cite">
      <meta http-equiv="Context-Type" content="text/html; charset=UTF-8">
      <div>
        <div id="yui_3_16_0_ym19_1_1463269278584_5497" dir="ltr"><span
            id="yui_3_16_0_ym19_1_1463269278584_6269">Hi </span><span
            id="yui_3_16_0_ym19_1_1463269278584_5500">Janneke, you are
            right. The simplification process is executed just when the
            original geometry is read from data source and it can create
            invalid geometries. These invalid geometries will be used
            in subsequent processes using geometry calculations.</span></div>
        <div id="yui_3_16_0_ym19_1_1463269278584_5497" dir="ltr"><span><br>
          </span></div>
        <div id="yui_3_16_0_ym19_1_1463269278584_5497" dir="ltr"><span
            id="yui_3_16_0_ym19_1_1463269278584_6220">You can disable
            the simplification of a layer from its options menu ->
            properties -> rendering -> uncheck the "simplify
            geometry" CheckBox. </span><span
            id="yui_3_16_0_ym19_1_1463269278584_7221">Or you can disable
            the simplification by default from -> settings ->
            options -> rendering -> uncheck the "Enable feature
            simplification by default ..." CheckBox.</span></div>
        <div id="yui_3_16_0_ym19_1_1463269278584_5497" dir="ltr"><span><br>
          </span></div>
        <div id="yui_3_16_0_ym19_1_1463269278584_5497" dir="ltr"><span
            id="yui_3_16_0_ym19_1_1463269278584_6729">This pull request
            moves the simplification just when the geometry is rendered,
            the geometry remains unchanged from the data source in order
            to avoid these problems. </span></div>
        <div id="yui_3_16_0_ym19_1_1463269278584_5497" dir="ltr"><span><br>
          </span></div>
        <div id="yui_3_16_0_ym19_1_1463269278584_5497" dir="ltr"><span
            id="yui_3_16_0_ym19_1_1463269278584_6221">Kind regards</span></div>
        <div id="yui_3_16_0_ym19_1_1463269278584_5497" dir="ltr"><span
            id="yui_3_16_0_ym19_1_1463269278584_7051">Alvaro</span></div>
        <div class="qtdSeparateBR"
          id="yui_3_16_0_ym19_1_1463269278584_5496"><br>
          <br>
        </div>
        <div class="yahoo_quoted"
          id="yui_3_16_0_ym19_1_1463269278584_5451">
          <div id="yui_3_16_0_ym19_1_1463269278584_5450">
            <div id="yui_3_16_0_ym19_1_1463269278584_5449">
              <div dir="ltr" id="yui_3_16_0_ym19_1_1463269278584_5448">
                <hr id="yui_3_16_0_ym19_1_1463269278584_5446"> <b
                  id="yui_3_16_0_ym19_1_1463269278584_5482"><span
                    id="yui_3_16_0_ym19_1_1463269278584_5481">De:</span></b>
                Janneke van Dijk <a class="moz-txt-link-rfc2396E" href="mailto:janneke.qgis@gmail.com"><janneke.qgis@gmail.com></a><br>
                <b id="yui_3_16_0_ym19_1_1463269278584_5480"><span
                    id="yui_3_16_0_ym19_1_1463269278584_5479">Para:</span></b>
                A Huarte <a class="moz-txt-link-rfc2396E" href="mailto:ahuarte47@yahoo.es"><ahuarte47@yahoo.es></a>;
                <a class="moz-txt-link-rfc2396E" href="mailto:qgis-developer@lists.osgeo.org">"qgis-developer@lists.osgeo.org"</a>
                <a class="moz-txt-link-rfc2396E" href="mailto:qgis-developer@lists.osgeo.org"><qgis-developer@lists.osgeo.org></a> <br>
                <b><span>Enviado:</span></b> Sábado 14 de Mayo de 2016
                20:30<br>
                <b><span>Asunto:</span></b> Re: [Qgis-developer] GEOS
                error Exception: IllegalArgumentException: Invalid
                number of points in LinearRing found 3 - must be 0 or
                >= 4<br>
              </div>
              <div class="y_msg_container"
                id="yui_3_16_0_ym19_1_1463269278584_5454"><br>
                <div id="yiv7691646922">
                  <div id="yui_3_16_0_ym19_1_1463269278584_5453">
                    <div class="yiv7691646922moz-cite-prefix"
                      id="yui_3_16_0_ym19_1_1463269278584_5452">Hi
                      Alvaro,<br>
                      <br>
                      How do I disable the on-the-fly simplification?<br>
                      Do I understand it correctly that the error causes
                      problems with a virtual field with a geometry
                      calculation in it? Would that also be solved by
                      disabling on-the-fly simplification? Or should I
                      avoid the issues by not making it a virtual field
                      - if I know that the polygons won't be edited? <br>
                      <br>
                      Thanks for your insights,<br>
                      Janneke<br>
                      <br>
                      On 13/05/2016 11:08, A Huarte wrote:<br>
                    </div>
                    <blockquote type="cite"> </blockquote>
                  </div>
                  <div class="yiv7691646922yqt6259149778"
                    id="yiv7691646922yqt90602">
                    <div id="yui_3_16_0_ym19_1_1463269278584_5502">
                      <div id="yui_3_16_0_ym19_1_1463269278584_5501">
                        <div dir="ltr"
                          id="yiv7691646922yui_3_16_0_ym19_1_1463119430554_14010"><span
id="yiv7691646922yui_3_16_0_ym19_1_1463119430554_14070">Hi, I think this
                            pull </span><a moz-do-not-send="true"
                            rel="nofollow" shape="rect"
                            id="yiv7691646922yui_3_16_0_ym19_1_1463119430554_14012"
                            target="_blank"
                            href="https://github.com/qgis/QGIS/pull/2900">https://github.com/qgis/QGIS/pull/2900</a> fixes


                          the error.</div>
                        <div dir="ltr"
                          id="yiv7691646922yui_3_16_0_ym19_1_1463119430554_14010"><br>
                        </div>
                        <div dir="ltr"
                          id="yiv7691646922yui_3_16_0_ym19_1_1463119430554_14305">But
                          it is pending to merge, It needs to fix some
                          tests to be accepted finally.</div>
                        <div dir="ltr"
                          id="yiv7691646922yui_3_16_0_ym19_1_1463119430554_14306">Meanwhile


                          you can disable the on-the-fly simplification
                          of the layer.</div>
                        <div dir="ltr"
                          id="yiv7691646922yui_3_16_0_ym19_1_1463119430554_14306"><br>
                        </div>
                        <div dir="ltr"
                          id="yiv7691646922yui_3_16_0_ym19_1_1463119430554_14306">Kind

                          regards</div>
                        <div dir="ltr"
                          id="yiv7691646922yui_3_16_0_ym19_1_1463119430554_14306">Alvaro</div>
                        <div class="yiv7691646922qtdSeparateBR"
                          id="yiv7691646922yui_3_16_0_ym19_1_1463119430554_14011"><br>
                        </div>
                        <div class="yiv7691646922yahoo_quoted"
                          id="yiv7691646922yui_3_16_0_ym19_1_1463119430554_14350">
                          <div
                            id="yiv7691646922yui_3_16_0_ym19_1_1463119430554_14349">
                            <div
                              id="yiv7691646922yui_3_16_0_ym19_1_1463119430554_14348">
                              <div dir="ltr"
                                id="yiv7691646922yui_3_16_0_ym19_1_1463119430554_14347">
                                <hr
                                  id="yui_3_16_0_ym19_1_1463269278584_6637">
                                <b><span>De:</span></b> Janneke van Dijk
                                <a moz-do-not-send="true" rel="nofollow"
                                  shape="rect"
                                  class="yiv7691646922moz-txt-link-rfc2396E"
                                  target="_blank"
                                  href="mailto:janneke.qgis@gmail.com"
                                  id="yui_3_16_0_ym19_1_1463269278584_6638"><janneke.qgis@gmail.com></a><br>
                                <b><span>Para:</span></b> <a
                                  moz-do-not-send="true" rel="nofollow"
                                  shape="rect"
                                  class="yiv7691646922moz-txt-link-abbreviated"
                                  target="_blank"
                                  href="mailto:qgis-developer@lists.osgeo.org"
id="yui_3_16_0_ym19_1_1463269278584_6639"><a class="moz-txt-link-abbreviated" href="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</a></a>
                                <br>
                                <b
                                  id="yui_3_16_0_ym19_1_1463269278584_6643"><span
id="yui_3_16_0_ym19_1_1463269278584_6642">Enviado:</span></b> Viernes 13
                                de Mayo de 2016 9:53<br>
                                <b><span>Asunto:</span></b>
                                [Qgis-developer] GEOS error Exception:
                                IllegalArgumentException: Invalid number
                                of points in LinearRing found 3 - must
                                be 0 or >= 4<br>
                              </div>
                              <div class="yiv7691646922y_msg_container"
id="yiv7691646922yui_3_16_0_ym19_1_1463119430554_14352"><br>
                                Dear list,<br>
                                <br>
                                Using QGIS 2.14.2 on Windows 7 I get the
                                following error message when <br>
                                zooming out on a shapefile layer that
                                has labels switched on:<br>
                                <br>
                                GEOS<br>
                                Exception: IllegalArgumentException:
                                Invalid number of points in <br>
                                LinearRing found 3 - must be 0 or >=
                                4<br>
                                <br>
                                It seems to be an old bug (<a
                                  moz-do-not-send="true" rel="nofollow"
                                  shape="rect" target="_blank"
                                  href="https://hub.qgis.org/issues/9375"><a class="moz-txt-link-freetext" href="https://hub.qgis.org/issues/9375">https://hub.qgis.org/issues/9375</a></a>)
                                that was <br>
                                fixed 2 years ago.<br>
                                <br>
                                It doesn't seem to cause any problems
                                otherwise. Anyone else have this <br>
                                issue? Should I file a new bug report?<br>
                                <br>
                                Regards,<br>
                                Janneke<br>
                                <br>
_______________________________________________<br>
                                Qgis-developer mailing list<br>
                                <a moz-do-not-send="true" rel="nofollow"
                                  shape="rect" target="_blank"
                                  href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
                                List info: <a moz-do-not-send="true"
                                  rel="nofollow" shape="rect"
                                  target="_blank"
                                  href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
                                Unsubscribe: <a moz-do-not-send="true"
                                  rel="nofollow" shape="rect"
                                  target="_blank"
                                  href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                      <br>
                    </div>
                  </div>
                </div>
                <br>
                <br>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>