I try to make a script which changes the coordinates given in format DMS (like N54 24 04.50, E018 34 17.20 to 18.6889, 54.3320) to DD format which is suitable for working in QGIS. The conversion is pretty easy but what I want to really do is to change a point position basing on coordinates given in columns. Like here:
So I want to create a feature, then type in LAT and LON columns the desired position, columns 'x' and 'y' shall take these coordinates and convert them to DD format. And the last step is to change the feature position basing on columns 'x' and 'y'.
I know that I can retype the coordinates or recalculate them in csv. sheet and load again to QGIS but it's time consuming. So is there a possibility to 'set' a columns from which the feature will take the $x and $y of geometry directly in QGIS?