[Qgis-developer] Valid or invalid geom in PostGIS?
G. Allegri
giohappy at gmail.com
Mon Jan 16 03:32:43 PST 2017
Andrea,
QGIS usa WKB, ci mancherebbe! :)
https://github.com/qgis/QGIS/blob/master/src/providers/postgres/qgspostgresfeatureiterator.cpp#L692
giovanni
2017-01-16 12:16 GMT+01:00 aperi2007 <aperi2007 at gmail.com>:
> 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/1f014d1e/attachment.html>
More information about the Qgis-developer
mailing list