In QGIS I have a csv-file which contains lat/long-coordinates and population data for each coordinate. I also have a shapefile containing certain regional districts, in my case US counties.

Now I want to add a column to my csv-file which in addition to the coordinates specifies the county of the coordinate point.

Since there are no common attributes to join on, how should I proceed using QGIS?

Thanks a bunch,


  • Other than Attribute-join you could also join by location (as in point-within-polygon). Have a look at the Join-Attributes-by-Location tool in QGIS or the PointSampling Plugin (which also works for vectorlayers)
    – Curlew
    Commented May 20, 2014 at 11:27

1 Answer 1


You can use use Join Attributes By location tool in the Vector/Data Management tools. It will create a new shapefile, but you can export its attribute table and create a new CSV.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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