I am working in QGIS console. I'd like to create new point in existing layer and using two floats as coordinates [1604288.165, 642862.0068].
But getting TypeError ((
Traceback (most recent call last): File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\code.py", line 90, in runcode exec(code, self.locals) File "<input>", line 1, in <module> File "<string>", line 80, in <module> TypeError: QgsGeometry.fromPointXY(): argument 1 has unexpected type 'float'
Into which type should I convert my coordinates?