You should be able to intersect the two layers, but may have issues if they are 
in different CRS's, or there are topological errors present.

If they are in different CRS's, then export one to the CRS of the other, and 
generate the intersection with that one.

Also run Vector-> Geometry tools -> Check validity on each source layer to 
ensure the data is valid.

The result should be a layer that has all the polygons from one split by the 
other to form new polygons common to both layers, and with each of the new 
polygons having all the attributes from both original layers.

Note that if you need to include the areas in the source layers that are not 
common to both, you'll need to get the differences between the layers (both A-B 
& B-A) and add these to the intersection.

Note that this is essentially a spatial data management question, and while 
QGIS can do it perfectly well, I find it can be easier to manage the data in 
Postgis tables in a database, and use Postgis SQL statements to do this, using 
QGIS to see the resulting data in the map canvas.

Cheers

Brent Wood

Principal Technician, Fisheries
NIWA
DDI:  +64 (4) 3860529

________________________________
From: Qgis-user <qgis-user-boun...@lists.osgeo.org> on behalf of Per-Ove 
Persson <perovelpers...@gmail.com>
Sent: Monday, January 11, 2021 09:37
To: Qgis-user@lists.osgeo.org <Qgis-user@lists.osgeo.org>
Subject: [Qgis-user] Qgis-user mailing list


Hi !

I am very new user of QGIS. And now have I run into difficulties.

Use the QGIS version 3.10.10

I try to combine two layers in order to receive agriculture area per different 
municipalities

It seams that I do something wrong because I am not able to do that.

Do somebody have any nice and clever solution in order to solve this I would be 
grateful



Best Regards

Per-Ove Persson



[https://www.niwa.co.nz/static/niwa-2018-horizontal-180.png]<https://www.niwa.co.nz>
Brent Wood
Principal Technician - GIS and Spatial Data Management
Programme Leader - Environmental Information Delivery
+64-4-386-0529 |
National Institute of Water & Atmospheric Research Ltd (NIWA)
301 Evans Bay Parade Hataitai Wellington New Zealand
Connect with NIWA: niwa.co.nz<https://www.niwa.co.nz> 
Facebook<https://www.facebook.com/nzniwa> 
LinkedIn<https://www.linkedin.com/company/niwa> 
Twitter<https://twitter.com/niwa_nz> 
Instagram<https://www.instagram.com/niwa_science>
To ensure compliance with legal requirements and to maintain cyber security 
standards, NIWA's IT systems are subject to ongoing monitoring, activity 
logging and auditing. This monitoring and auditing service may be provided by 
third parties. Such third parties can access information transmitted to, 
processed by and stored on NIWA's IT systems
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to