1

I have the following use case: I have around 1000 points and their positions in the attribute table. Sometimes I get an email with an updated position (coordinates) of a certain point. The problem is, when I update the position in the attribute table, the point in the map doesn't change. I know, that is just the way how GIS works. I also know I could go into editing mode, use the advanced editing toolbar and copy & paste the new coordinates for the point. But this is a bit too much work because it is a repetitive task.

What would be an easier way to update the position of a point with using coordinates?

From a user perspective it would be great to just copy & paste the new coordinates in the attribute table and the position of the point would update to the new position. I know that doesn't work, but maybe I could realize it with an expression in the attribute formular.

Do you have an idea which expression I could use?

0
3

I just found out, I could use the vertex tool of the editing toolbar:

  1. acitivate the editing mode.
  2. activate the vertex-editing-mode
  3. right-click on the point
  4. insert the new coordinates

enter image description here

8
  • 2
    You could also use a CSV layer. Whenever you update the CSV file, then next time you open the project, the points will be moved. – wingnut May 8 at 14:02
  • 1
  • @wingnut: I didn't know that, amazing! I tested it, it works perfectly. – Enzo Baldini May 8 at 14:14
  • @CyrilMikhalchenko: thanks! I didn't find that post before I posted my question. – Enzo Baldini May 8 at 14:16
  • 2
    To add to the solutions: if you need the updated postion for visual purposes only, you could use QGIS expressions: change your symbol layer style to geoemtry generator / point and add this expression: make_point (x,y), where x and y are the attribute names of x- and y-coordinates. – Babel May 8 at 14:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.