<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1484554121001_49240">Hi, do you have enabled the postgis server-side simplification for this layer? Maybe it could throw these errors.</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1484554121001_49241" dir="ltr"><br></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1484554121001_49241">Alvaro</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1484554121001_49241"><br></div><div class="yahoo_quoted" id="yui_3_16_0_ym19_1_1484554121001_49309" style="display: block;">  <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1484554121001_49308"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1484554121001_49307"> <div dir="ltr" id="yui_3_16_0_ym19_1_1484554121001_49306"> <font size="2" face="Arial" id="yui_3_16_0_ym19_1_1484554121001_49311"> <hr size="1" id="yui_3_16_0_ym19_1_1484554121001_49310"> <b><span style="font-weight:bold;">De:</span></b> aperi2007 <aperi2007@gmail.com><br> <b><span style="font-weight: bold;">Para:</span></b> qgis-developer@lists.osgeo.org <br> <b><span style="font-weight: bold;">Enviado:</span></b> Lunes 16 de enero de 2017 12:16<br> <b><span style="font-weight: bold;">Asunto:</span></b> Re: [Qgis-developer] Valid or invalid geom in PostGIS?<br> </font> </div> <div class="y_msg_container" id="yui_3_16_0_ym19_1_1484554121001_49485"><br>QGIS retrieve geometry from postgis using WKT or WKB ?<br clear="none"><br clear="none">AFAIK The WKT is less precision than WKB.<br clear="none"><br clear="none">A.<br clear="none"><br clear="none"><div class="yqt9540431458" id="yqtfd10550"><br clear="none">Il 16/01/2017 11:37, Paolo Cavallini ha scritto:<br clear="none">> Hi all,<br clear="none">> when loading a layer in QGIS 2.18 I get from the PostGIS log panel a<br clear="none">> series of notices of the type:<br clear="none">><br clear="none">> 2017-01-16T11:34:52    1    NOTA: NOTICE:  Self-intersection at or near point<br clear="none">> 619746.32941695023 4869530.4882389866<br clear="none">> 2017-01-16T11:34:52    1    NOTA: NOTICE:  IllegalArgumentException: Invalid<br clear="none">> number of points in LinearRing found 3 - must be 0 or >= 4<br clear="none">><br clear="none">> Howevet, geoms seem valid:<br clear="none">><br clear="none">> select ST_IsValid(the_geom) from istat where ST_IsValid(the_geom) = FALSE;<br clear="none">>   st_isvalid<br clear="none">> ------------<br clear="none">> (0 rows)<br clear="none">><br clear="none">> I'm puzzled, any explanation?<br clear="none">> Thanks.<br clear="none"><br clear="none">_______________________________________________<br clear="none">Qgis-developer mailing list<br clear="none"><a shape="rect" ymailto="mailto:Qgis-developer@lists.osgeo.org" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br clear="none">List info: <a shape="rect" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br clear="none">Unsubscribe: <a shape="rect" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></div><br><br></div> </div> </div>  </div></div></body></html>