1

I have a .shp point layer created starting from a .csv file in which I have coordinates in GG°MM'SS". It usually happens I need to update a point position with new coords they give me in GG°MM'SS" format.

If I open the attribute table and I change the coords, the point doesn't move so I only have the attribute updated. How can I move the points typing new coords so they are both updated in position and attribute table.

Actually I must open the .csv file each time, I update the coords and then I create the layer again by importing the .csv file then save the file in .shp. It sound strange to me you couldn't do this in a simpler way.

1
  • 3
    Rightclicking a point with the node tool in edit mode allows you to manipulate the coordinates as you wish.
    – Erik
    Commented Jun 10, 2021 at 9:05

1 Answer 1

1

As @Erik said there is the Vertex tool to set the position based on coordinate.

enter image description here

Then half the problem is solved for you. You just need to create a virtual field that will contain the coordinate base on the geometry of your point.

Here is the formula :

 to_dms( $x , 'x', 0)
 to_dms( $y , 'y', 0)
2
  • This is a News to me, but still too complicated. What kind of coords are the ones in the Vertex Editor Window? It should be nicer if those coord should be in DMS to make move more intuitive. Too many steps to do and I find too slow if you have a lot of points to edit...
    – Forna
    Commented Jun 12, 2021 at 9:20
  • The coordinate format will be in the coordinate system you use as projection in your layer. If your layer is in a coordinate system that use Degrees then it should work. Commented Jun 12, 2021 at 14:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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