Skip to main content
added 1 character in body
Source Link
J.R
  • 17.4k
  • 2
  • 23
  • 55

There are two way to do that depending on what you want to do.

If you want to have the coordinate in your shapefile (and in any format you export after that), you could use the "add geometry attributes" tool (that create a new layer) or manually add the column in youyour existing attribute table and use the field calculator to fill coordinate (use $x and $y as expression). Note that the coordinate in the attribute table do not auto-update so if you move your point you will need to recalculate the coordinate.

If you just need the coordinate in a text file you could export your data to CSV (right click on your layer then Export>Save Features As... and choose "Comma Separated Value [CSV]" as format) then on the "Layer Options" section you could choose the geometry format that will be added to your export.

enter image description here

There are two way to do that depending on what you want to do.

If you want to have the coordinate in your shapefile (and in any format you export after that), you could use the "add geometry attributes" tool (that create a new layer) or manually add the column in you existing attribute table and use the field calculator to fill coordinate (use $x and $y as expression). Note that the coordinate in the attribute table do not auto-update so if you move your point you will need to recalculate the coordinate.

If you just need the coordinate in a text file you could export your data to CSV (right click on your layer then Export>Save Features As... and choose "Comma Separated Value [CSV]" as format) then on the "Layer Options" section you could choose the geometry format that will be added to your export.

enter image description here

There are two way to do that depending on what you want to do.

If you want to have the coordinate in your shapefile (and in any format you export after that), you could use the "add geometry attributes" tool (that create a new layer) or manually add the column in your existing attribute table and use the field calculator to fill coordinate (use $x and $y as expression). Note that the coordinate in the attribute table do not auto-update so if you move your point you will need to recalculate the coordinate.

If you just need the coordinate in a text file you could export your data to CSV (right click on your layer then Export>Save Features As... and choose "Comma Separated Value [CSV]" as format) then on the "Layer Options" section you could choose the geometry format that will be added to your export.

enter image description here

Source Link
J.R
  • 17.4k
  • 2
  • 23
  • 55

There are two way to do that depending on what you want to do.

If you want to have the coordinate in your shapefile (and in any format you export after that), you could use the "add geometry attributes" tool (that create a new layer) or manually add the column in you existing attribute table and use the field calculator to fill coordinate (use $x and $y as expression). Note that the coordinate in the attribute table do not auto-update so if you move your point you will need to recalculate the coordinate.

If you just need the coordinate in a text file you could export your data to CSV (right click on your layer then Export>Save Features As... and choose "Comma Separated Value [CSV]" as format) then on the "Layer Options" section you could choose the geometry format that will be added to your export.

enter image description here