I want to create print layouts from a QGIS project, each highlighting some region of interest. For each of these regions of interest I have a polygon in a vector layer.
So my desired workflow would be:
- Select the polygon corresponding to a given region of interest;
- Create a new map layout with an extent matching the selected feature extent including page size aspect ratio.
It is important to match not just the extent but also the aspect ratio. It is not enough, for example, to select the feature, zoom to its extent, and then create a layout and click in "set to map canvas extent", because zooming to extent fits the feature to the canvas, and I want the canvas extent (or actually the page size) to be fitted to the feature extent.