[Qgis-user] intersection question

kirk kirk at nortekresources.com
Sun Nov 12 04:15:04 PST 2023


Hi Matt.The trick is to use the attributes to id each layer before you run the intersection. So create a new field for each layer and give each polygon the same number. So layer 1, maybe 1.  Do the same for the second or even third layer, use 2, or something different from the first layer.  Complete your intersect and you can determine the origin of each resulting polygon.If you use 1 and 2 to identify the layers. New polygons with the attribute of 1 or 2 did not intersect.  Polygons with 1 and 2 did.Kirk SchmidtSent from my Galaxy
-------- Original message --------From: Matthew Carroll via QGIS-User <qgis-user at lists.osgeo.org> Date: 2023-11-11  3:45 a.m.  (GMT-04:00) To: qgis-user at lists.osgeo.org Subject: [Qgis-user] intersection question Hi there,I'm fairly new to qgis, and hoping someone can point me in the right direction for a problem I'm trying to solve.I need to intersect two polygon layers, and identify which polygons from the original layer are, essentially, the ones that were "split" by the intersection process.In this example I'd want to identify polygons 1,2,4,5 since 3,6 are the same as in the original layer.Ideally those polygons would be identified somehow in the attribute table for the intersection layer.In addition, is there any way to build some tolerance into the process to account for spots where the polygon boundaries on layer 2 don't align 100% perfectly with layer one.Thanks so much for the help,Matthew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20231112/26aa7d9d/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: intersection_example.png
Type: image/png
Size: 10133 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20231112/26aa7d9d/attachment.png>


More information about the QGIS-User mailing list