I currently have two layers in my QGIS (v1.7.3 for Mac) project -- one being a Pennsylvania State House shapefile and the other being 166 geocoded addresses (for which I used 'Add Text Delimited Layer' with XY latitude and longitude columns as coordinates). The mapping of these two worked great:


But is there a way for me to get the data out of QGIS and back into an Excel file, with regards to which state house district each geocoded address falls into?

Ideally, the data would come out similar to:

    Latitude Longitude District
    40.14524 -75.21491 131


1 Answer 1


Go to Vector>>>Data Management tools>>>Join Attributes by locationenter image description here

I think this may help you.

  • Thanks, this (maps.cga.harvard.edu/qgis/wkshop/join_spatial.php) seemed like the best thing I could find on how to make 'Join Attributes By Location' work how I need it -- but I don't quite understand the output shapefile part of it.
    – Ryan
    Oct 22, 2013 at 16:11

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.