[Qgis-developer] Valid or invalid geom in PostGIS?
aperi2007
aperi2007 at gmail.com
Mon Jan 16 03:16:38 PST 2017
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.
More information about the Qgis-developer
mailing list