[Qgis-developer] Valid or invalid geom in PostGIS?

A Huarte ahuarte47 at yahoo.es
Mon Jan 16 03:43:57 PST 2017


Hi, do you have enabled the postgis server-side simplification for this layer? Maybe it could throw these errors.
Alvaro
      De: aperi2007 <aperi2007 at gmail.com>
 Para: qgis-developer at lists.osgeo.org 
 Enviado: Lunes 16 de enero de 2017 12:16
 Asunto: Re: [Qgis-developer] Valid or invalid geom in PostGIS?
   
QGIS retrieve geometry from postgis using WKT or WKB ?

AFAIK The WKT is less precision than WKB.

A.


Il 16/01/2017 11:37, Paolo Cavallini ha scritto:
> Hi all,
> when loading a layer in QGIS 2.18 I get from the PostGIS log panel a
> series of notices of the type:
>
> 2017-01-16T11:34:52    1    NOTA: NOTICE:  Self-intersection at or near point
> 619746.32941695023 4869530.4882389866
> 2017-01-16T11:34:52    1    NOTA: NOTICE:  IllegalArgumentException: Invalid
> number of points in LinearRing found 3 - must be 0 or >= 4
>
> Howevet, geoms seem valid:
>
> select ST_IsValid(the_geom) from istat where ST_IsValid(the_geom) = FALSE;
>  st_isvalid
> ------------
> (0 rows)
>
> I'm puzzled, any explanation?
> Thanks.

_______________________________________________
Qgis-developer mailing list
Qgis-developer at lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170116/17ff7ae5/attachment.html>


More information about the Qgis-developer mailing list