I am working with Google Earth Engine plugin in QGIS and trying to get a point geomtry from QGIS to use in the python API code.
I wrote some code that needs point coordinates to start the process. I can do that by generating the point inside the script (point = ee.Geometry.Point([Xcoord, Ycoord])), but I actually need to generate that point interctively, that means I click on the map and point coordinates are passed to the code.
Only string I could find that seems related to what I'm seeking is map.onclick(callback), but I'm not sure that's what I need and anyway that throws the error AttributeError: type object 'map' has no attribute 'onclick'.
Does anyone have any suggestion about that?
Many thanks