2

I have a shapefile full of points (points.shp) and another shapefile with polygons (polygons.shp). Polygons.shp has multiple features in it, many of them overlapping with each other.

I would like the run an analysis [like a union] where every combination of points.shp and polygon.shp is returned.

Currently I am separating the features in polygons.shp into different files where there are no overlaps, since QGIS's Join Attributes By Location tool will only return a 1:1 match.

Is there a faster or better way to be doing this in QGIS?

migrated from meta.gis.stackexchange.com Feb 23 '16 at 6:15

This question came from our discussion, support, and feature requests site for cartographers, geographers and GIS professionals.

  • You want to get a union of all the points in a particular polygon? – Hasan Mustafa Feb 23 '16 at 6:18
  • 2
    Please make sure that you post GIS questions on Geographic Information Systems rather than Geographic Information Systems Meta (which is for questions about how GIS SE works). Also, I removed ArcMap from your question to leave it focussed on QGIS. As per the Tour there should be only one question per question, and by asking about two products it would effectively be two questions. – PolyGeo Feb 23 '16 at 6:20
  • a Join Attributes by Location analysis will return the attributes of one polygon to a point. I would like to return one point and polygon information for every polygon that the point intersects, similar to a polygon with polygon union. – Jason Fernandez Feb 23 '16 at 22:19
2

I'm not aware of a single tool or plugin that can perform the steps you've outlined, i.e. union, split features etc...

To speeds things up on step of separating the features in the polygon.shp file you can use the Split Vector Layer tool.

Look in Vector > Data Management Tools > Split Vector Layer...

enter image description here

  • hi whyzar, I have already been doing this to avoid the overlapping layers, then Join Attributes by Location tool for the points over each set of features then putting all the information back together. I am wondering if there is a more systematic or faster way than this. The polygon.shp file has more than 2000 features, maybe 1500 of them overlapping each other. – Jason Fernandez Feb 23 '16 at 22:23

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.