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

Paolo Cavallini cavallini at faunalia.it
Mon Jan 16 02:37:55 PST 2017


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.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis


More information about the Qgis-developer mailing list