• Blog posts

    Bio

    By David Crowther

    QGIS___Extract_X___Y_Coordinates_-_1.PNG

    Question:

    How do you extract X and Y coordinates in QGIS?

    Answer:

    QGIS has a tool that can do this for you!

    From the Processing menu choose > Toolbox > and open the Vector Table section.

    QGIS___Extract_X___Y_Coordinates_-_2.PNG

    Choose the Add X/Y fields to layer menu option.

    QGIS___Extract_X___Y_Coordinates_-_3.PNG

    The Add X/Y fields to layer Tool will open.

    QGIS___Extract_X___Y_Coordinates_-_4.PNG

    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.

    QGIS___Extract_X___Y_Coordinates_-_5.PNG

    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.

    QGIS___Extract_X___Y_Coordinates_-_6.PNG