<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"><meta http-equiv="content-type" content="text/html; charset=utf-8"><div dir="ltr"><meta http-equiv="content-type" content="text/html; charset=utf-8"><div dir="ltr"><meta http-equiv="content-type" content="text/html; charset=utf-8">Hi,<div><br><div>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…. <br><br><div dir="ltr">Nicolas Cadieux<div><a href="https://gitlab.com/njacadieux">https://gitlab.com/njacadieux</a></div></div><div dir="ltr"><br><blockquote type="cite">Le 31 déc. 2022 à 12:24, Francesco Pelullo via QGIS-User <qgis-user@lists.osgeo.org> a écrit :<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il sab 31 dic 2022, 16:35 Andrea Giudiceandrea via QGIS-User <<a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a>> ha scritto:</div><div dir="ltr" class="gmail_attr"><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
    is the preview result of the  make_point(to_real(@long),
    to_real(@lat)) expression displayed in the expression editor
    correct?<br></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Yes, It reports "<geometry: Point>"</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
    Have you checked if the preview results of the @long, @lat,
    to_real(@long) and to_real(@lat) are correct?<br></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">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.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
    What is the char used as decimal separator in the @long and @lat
    variables value?<br>
    </div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Separator for decimals is dot, i correctly formatted it. </div><div dir="auto"><br></div><div dir="auto">Other suggestions?</div><div dir="auto"><br></div><div dir="auto">Have an Happy New Year to everyone.</div><div dir="auto"><br></div><div dir="auto">Francesco </div></div>
<span>_______________________________________________</span><br><span>QGIS-User mailing list</span><br><span>QGIS-User@lists.osgeo.org</span><br><span>List info: https://lists.osgeo.org/mailman/listinfo/qgis-user</span><br><span>Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user</span><br></div></blockquote></div></div></div></div></div></body></html>