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

Layout export: Support for larger image sizes OR warning/error when over limit #49970

Open
Binarypasta opened this issue Aug 26, 2022 · 1 comment
Labels
Feature Request Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks

Comments

@Binarypasta
Copy link

Feature description

I wish for the supported export file size to either be increased, or a functionality for the layout manager to report an error for the two scenarios where i experience it failing - for which i today with the green message "successfully...."

Scenario A) - The image can't be fully drawn: probably due to the resulting file size of image. A (admittable) very large image of 19036x36703 pixels fails to be exported fully, resulting in white sections for the rest of the map. If QGIS is restricted by dependencies for this workflow, i request a integrated feature that discovers and announces this fault - if not warn about it before beginning.

Scenario B) - Layers are not included in the export: While handling a very large set of layers, that really should have been migrated to .gdpk's and reorganized, i recently experienced QGIS drawing the map almost successfully, but must have hit a RAM limitation (not hardware bound, i repeated it with a eye on the RAM usage of 64Gb available). Thus a final layer or two was not included - but again with a green "successfully..." message that led me to expect it to be, as it said, successful

Additional context

Exporting large maps in for this purpose created grids via Atlas is a work-a-round today, but now i'm reaching a point where i create a grid for my projects and end resulting publishing formats - and a grid for each of these grids. Then combining it all in "post-production". But with all these fantastic additions to QGIS that has been coming steadily the last years, i would like to request if it's feasible to increase the export file limitations - or if not, as mention, have a warning system incorporated. Because in later years i've increasingly been working on projects, for which the export size is only getting larger. And i thus do try to export it all in one go, as it would significantly decrease what i mention as "post-production" time.

@mir123
Copy link

mir123 commented Aug 28, 2022

Same problem here. Need to export a mural-size map at 300 dpi - image size is 50787 x 28700. QGIS reports export finished and PNG is the right size, but content on images reaches a width of 32767 from the left with transparent pixels on the rest of the image. I'm sure the number of pixels of width is not a coincidence. No warnings are given at any point in the process.

No need to export any actual content to get this error -- map with no layers fills background color only to 32767.

Max memory usage for QGIS doing this is 13 GB, still lots of free RAM during the process.

See issue #19198 for reference

QGIS 3.22.4
Linux Mint 21 64-bit
Intel i7-6700 @ 3.4 GHz
32 GB RAM

@alexbruy alexbruy added the Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks label Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks
Projects
None yet
Development

No branches or pull requests

3 participants