Bug report #6956
ATLAS does not fit well for objects higher than they are large
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||16066|
When generating atlas, images are not fitted correctly into map frame when object bbox is higher than it is large (a portrait aspect more than landscape)
Here are two screenshots and zip containing datas + qgs to reproduce it.
#3 Updated by Hugo Mercier almost 10 years ago
What do you expect when the extent of an object has not the same aspect ratio as the map frame's one ?
The current behaviour is to resize the height of the frame, keeping the width.
Other choices are :
- resize the extent in the height direction (that what the composer "Set to map canvas" seems to do).
- resize the content (not sure it is wanted)
Perhaps we should expose this choice to the user ...
#5 Updated by Hugo Mercier almost 10 years ago
Data are not exactly missing. If you change settings in order to display the frame border, you will see the frame resized in height to fit the object's extent.
But I understand and agree: keeping the frame's border untouched and centering the object is the key.