I have two independently created shapefiles
A) shapefile 1 lists the german postal codes and can be downloaded from https://blog.oraylis.de/2010/05/german-map-spatial-data-for-plz-postal-code-regions/ 'plotting' will create a map with postal codes as polygons.
B) shapefile 2 (PolygonSamples.shp) contains a list of polygons which are distributed all over Germany. The created polygons might be smaller, equal or larger than the polygon of a single postal codes polygon.
How to 'match' the two shapefiles to get a dataframe that lists which polygon in shapefile 2 matches which postal codes(s) of shapefile 2?
The result would ideally look like:
Polygon ID (shapefile 2) Postal Code (shapefile 1) 1 80995 2 80997 2 80999 3 81247
The polygon shapefile was created in GeoMap. Not very commonly used unfortunately. I can open it in QGIS desktop, alas whatever I try in QGIS (join, etc) - saved files will always be empty.