I'm very new to QGIS and have started by downloading a shapefile and importing it. The attribute table had only 1 attribute field ("name"). We needed more attribute fields so I manually created 10 more.

Now I'm wanting to populate the new attribute fields from a CSV file. How can I do this?


The process of joining data from csv to a shapefile is called Table Join. In order to join attributes from a csv file to a shapefile, both need to have fields (column which contain data) that they share together or common to both. (I will show an illustration using QGIS 2.18, process should be similar on any recent version)

enter image description here

There are different ways or methods to perform this task. One approach is to perform a join through the layer properties. (Note there are plugins that you could install and use, the method i describe does not require you to install any plugins).

  1. Right click the shapefile layer and choose properties.
  2. Click the Join menu and choose the required options.
  3. Click Ok, Apply and Ok.

enter image description here

Once complete you can open the table attribute of the shapefile and you will see the data from the csv file attached.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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