[Qgis-user] Bulk export atlas not working

Johannes Kröger (WhereGroup) johannes.kroeger at wheregroup.com
Mon Dec 20 00:28:37 PST 2021


Hey Wouter,

what is the atlas' expression for the filenames? Make sure they are 
unique, iterating and/or writing to a unique directory.

Cheers, Hannes


Am 18.12.21 um 18:51 schrieb Wouter Impens:
>
> Dear list,
>
> When using the ‘maps printer’ plugin for a bunch of atlas layouts, the 
> atlas pages are constantly overwritten by the next page, so I end up 
> with only the last page in the atlas layout.
>
> I used this before and it was working perfectly.
>
> I also tried with the following script:
>
> import qgis.core
>
> layouts_list = QgsProject.instance().layoutManager().printLayouts()
>
> for layout in layouts_list:
>
>     QgsLayoutExporter.exportToPdfs(layout.atlas(),
>
>                                     'C:\\Users\\d08909\\Documents\\01_WERKMAP\\03_EXPORT\\', 
>
>
>                                     QgsLayoutExporter.PdfExportSettings())
>
> But it’s giving me the same result.
>
> Manually exporting the altlas layouts one by one is no problem.
>
> I’m using QGIS 3.16.14 on windows.
>
> Any help is apreciated!
>
> Kind regards,
>
> Wouter Impens
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20211220/ef11f462/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xBF7B268A77C202D5.asc
Type: application/pgp-keys
Size: 2471 bytes
Desc: OpenPGP public key
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20211220/ef11f462/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 665 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20211220/ef11f462/attachment.sig>


More information about the Qgis-user mailing list