I have two shapefiles with polygons: one is regions for a country and the other is the protected areas inside that country.
I have merged these two polygons with Union, but the regions and protected areas are currently overlapping. I would like the area where they overlap to be only the protected areas (when merging, I would like to assign a higher ranking to protected areas). However, I don't want the entire region underlying the protected area to be deleted, JUST where they overlap, so one new map is created with protected areas and regions without gaps. they do not have any attributes in common so I'm not sure how to do this in QGIS.
What it looks like (protected area in grey overlapping green regions):
What I want (one layer with merged protected areas and no overlap with regions):