By David Crowther
How do you extract X and Y coordinates in QGIS?
QGIS has a tool that can do this for you!
From the Processing menu choose > Toolbox > and open the Vector Table section.
Choose the Add X/Y fields to layer menu option.
The Add X/Y fields to layer Tool will open.
We will use the following settings:
- In the Input Layer choose our Points Layer e.g. Hospitals.
- For the Coordinate system, we will choose BNG 27700.
If you now Run the Add X/Y fields Tool, the output will be a new Temporary Layer containing the Points/Records from the original data, with the X and Y field now appended onto the end. When viewed in the Attribute Table we can see the Easting (x) and Northing (n) values have now been extracted for each point.