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 <[email protected]>:

> 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
> [email protected]
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
Qgis-developer mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to