I have two polygon layers I'd like to overlay using QGIS or another open source tool. What I want as output is a polygon layer with the extent of one polygon, but with each polygon in that layer subdivided into polygons based on overlapping polygons in the second layer.
This seems like a basic operation but I'm having trouble finding documentation on how to do it.