Quick summary
This demo shows how to add points with coordinates in QGIS using the Add X/Y Fields to Layer tool from the Processing Toolbox. You will place points on a map, assign IDs, and extract their coordinates into an attribute table for spatial analysis.
Steps
- In the left panel, select the layer with the geometry type Point to add points to the map.
- Click the Toggle Editing button at the top to start editing the layer.
- Click the Add Point tool to enable point placement.
- Move your cursor over the map and click to place a point at your desired location.
- Enter an ID number for identification in the dialog, then click OK. Repeat to add as many points as needed.
- Once done, go to the top menu, click Processing, then select Toolbox.
- In the Toolbox search box, search for and select Add X/Y Fields to Layer.
- Choose your point layer name as the input layer.
- Select your coordinate system for the output.
- Click Run to execute the tool.
- Go to the newly added layer in your Layers panel.
- Right-click it and select Open Attribute Table to view the results.
- Your points now have coordinates successfully added as X/Y fields in the attribute table.
