Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ATLAS does not fit well for objects higher than they are large #16066

Closed
qgib opened this issue Jan 7, 2013 · 7 comments
Closed

ATLAS does not fit well for objects higher than they are large #16066

qgib opened this issue Jan 7, 2013 · 7 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Jan 7, 2013

Author Name: Regis Haubourg (@haubourg)
Original Redmine Issue: 6956
Affected QGIS version: master

Assignee: Vincent Picavet


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.
Régis


@qgib
Copy link
Contributor Author

qgib commented Jan 7, 2013

Author Name: Regis Haubourg (@haubourg)


Here are the missing files


  • 5240 was configured as rastFRFR632.jpg
  • 5241 was configured as bug_ratio_export_atlas.zip

@qgib
Copy link
Contributor Author

qgib commented Jan 13, 2013

Author Name: Regis Haubourg (@haubourg)


probably related to #16093

@qgib
Copy link
Contributor Author

qgib commented Jan 14, 2013

Author Name: Hugo Mercier (@mhugo)


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 ...

@qgib
Copy link
Contributor Author

qgib commented Jan 14, 2013

Author Name: Regis Haubourg (@haubourg)


Hi, I think everybody expects centered images on both axes when using Atlas. And the bug described here in not only a problem of centering. Data is missing in the lower part of the image. This shouldn't be.

@qgib
Copy link
Contributor Author

qgib commented Jan 14, 2013

Author Name: Hugo Mercier (@mhugo)


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.

@qgib
Copy link
Contributor Author

qgib commented Jan 14, 2013

Author Name: Hugo Mercier (@mhugo)


Fixed. Pull request 386
#386


  • done_ratio was changed from 0 to 100

@qgib
Copy link
Contributor Author

qgib commented Mar 21, 2013

Author Name: Regis Haubourg (@haubourg)


  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority labels May 24, 2019
@qgib qgib added this to the Version 2.0.0 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority
Projects
None yet
Development

No branches or pull requests

1 participant