[Qgis-user] QGIS 3.22 - Geometry by expression howto
Nicolas Cadieux
njacadieux.gitlab at gmail.com
Sat Dec 31 19:29:09 PST 2022
Hi,
Try decimal with commas. Check your local system settings. Could this be a wrong CRS problem? Try zoom to layer extent to see if they pop up in the wrong place. Share a few examples so we can check. Try exporting the geometries to Wkt in a new field to see what happens….
Nicolas Cadieux
https://gitlab.com/njacadieux
> Le 31 déc. 2022 à 12:24, Francesco Pelullo via QGIS-User <qgis-user at lists.osgeo.org> a écrit :
>
>
>
> Il sab 31 dic 2022, 16:35 Andrea Giudiceandrea via QGIS-User <qgis-user at lists.osgeo.org> ha scritto:
>
>> is the preview result of the make_point(to_real(@long), to_real(@lat)) expression displayed in the expression editor correct?
>
>
> Yes, It reports "<geometry: Point>"
>
>> Have you checked if the preview results of the @long, @lat, to_real(@long) and to_real(@lat) are correct?
>
>
> Yes, they are correct and I am usual to store project variables in my models, then read them as to_real(@something) because some time there are problems with decimal points.
>
>> What is the char used as decimal separator in the @long and @lat variables value?
>
>
> Separator for decimals is dot, i correctly formatted it.
>
> Other suggestions?
>
> Have an Happy New Year to everyone.
>
> Francesco
> _______________________________________________
> QGIS-User mailing list
> QGIS-User at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20221231/d6eab6d0/attachment.htm>
More information about the QGIS-User
mailing list