[QGIS-Developer] GeomFromText cuts decimal values

Prof. Dr. Jörg Höttges hoettges at fh-aachen.de
Thu Aug 11 03:24:32 PDT 2022


Hi list,

in the database window of QGIS 3.24.3 I tried to create geometries via GEOMFROMTEXT, but with

    SELECT aswkt(GEOMFROMTEXT('POINT(340178.042761887 5659302.0567476)',25832)) as geom

i get

    geom
    POINT(340178 5659302)

where the decimal part has been lost. Have i done something wrong?

Kind regards,

Jörg Höttges

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5991 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20220811/1dd9a73f/attachment-0001.bin>


More information about the QGIS-Developer mailing list