Re: [Qgis-user] Bulk export atlas not working

2021-12-20 Thread Wouter Impens
Hi list,

I can solve the problem by making new layouts, the ones I was using were
made before updating QGIS and the plugin.
Just in case someone has the same problem...

Greetings
Wouter

Op ma 20 dec. 2021 om 10:14 schreef Dietrich Heintz :

> Hi Wouter,
> would it be an option to uncheck "Single file export" and later merge the
> documents into one?
> ciao Dieter
>
> On 20.12.2021 10:10, Wouter Impens wrote:
>
> Hi Dieter,
>
> You can export an atlas to a single pdf, with multiple pages. The QGIS
> function in the layout is working fine but when I try to automate the
> process, There's only a pdf with the last page. By watching the process, I
> can see that all the pages are made but they overwrite themselves.
> The output is configured like this:
> [image: image.png]
> The automatisation with the 'maps printer plugin' used to work fine, It's
> not clear to me why it is not working now.
>
>
> Cheers
> Wouter
>
>
> Op ma 20 dec. 2021 om 10:00 schreef Dietrich Heintz :
>
>> Hello Wouter,
>> what do you mean with overwriting themselves. The Atlas needs a value for
>> the filename, which is derived from an entry of the reference geometry?
>> ciao Dieter
>>
>> On 20.12.2021 09:36, Wouter Impens wrote:
>>
>> Hi Hannes,
>>
>> Thanks for your answer.
>> The names are unique. But the problem is not that one atlas layout is
>> overwriting another, they're overwriting themselves. Ik only get the last
>> page of each atlas.
>> While the atlas is exporting, I can see in the windows explorer that a
>> file is made and then reset to 0, only the last atlas page is kept.
>>
>> Greetings
>> Wouter
>>
>> Op ma 20 dec. 2021 om 09:28 schreef Johannes Kröger (WhereGroup) <
>> johannes.kroe...@wheregroup.com>:
>>
>>> 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
>>>
>>>
>>>
>> ___
>> Qgis-user mailing listqgis-u...@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>>
>> --
>> _
>> Kronenbergstr. 7
>> CH-8800 Thalwil
>>
>> +41 76 749 22 77
>> +41 43 540 90 71
>>
>> my web-site 
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>
> ___
> Qgis-user mailing listqgis-u...@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
> --
> _
> Kronenbergstr. 7
> CH-8800 Thalwil
>
> +41 76 749 22 77
> +41 43 540 90 71
>
> my web-site 
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Bulk export atlas not working

2021-12-20 Thread WhereGroup
It looks like there were recent updates to the plugin. If you are 
certain you are using version 0.9 then best file an issue at 
https://github.com/DelazJ/MapsPrinter/issues





OpenPGP_0xBF7B268A77C202D5.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Bulk export atlas not working

2021-12-20 Thread Dietrich Heintz

Hi Wouter,
would it be an option to uncheck "Single file export" and later merge
the documents into one?
ciao Dieter

On 20.12.2021 10:10, Wouter Impens wrote:

Hi Dieter,

You can export an atlas to a single pdf, with multiple pages. The QGIS
function in the layout is working fine but when I try to automate the
process, There's only a pdf with the last page. By watching the
process, I can see that all the pages are made but they overwrite
themselves.
The output is configured like this:
image.png
The automatisation with the 'maps printer plugin' used to work fine,
It's not clear to me why it is not working now.


Cheers
Wouter


Op ma 20 dec. 2021 om 10:00 schreef Dietrich Heintz :

Hello Wouter,
what do you mean with overwriting themselves. The Atlas needs a
value for the filename, which is derived from an entry of the
reference geometry?
ciao Dieter

On 20.12.2021 09:36, Wouter Impens wrote:

Hi Hannes,

Thanks for your answer.
The names are unique. But the problem is not that one
atlas layout is overwriting another, they're overwriting
themselves. Ik only get the last page of each atlas.
While the atlas is exporting, I can see in the windows
explorer that a file is made and then reset to 0, only the last
atlas page is kept.

Greetings
Wouter

Op ma 20 dec. 2021 om 09:28 schreef Johannes Kröger (WhereGroup)
:

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




___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info:https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-user


--
_
Kronenbergstr. 7
CH-8800 Thalwil

+41 76 749 22 77
+41 43 540 90 71

my web-site 
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info:https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-user


--
_
Kronenbergstr. 7
CH-8800 Thalwil

+41 76 749 22 77
+41 43 540 90 71

my web-site 
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Bulk export atlas not working

2021-12-20 Thread Wouter Impens
Hi Dieter,

You can export an atlas to a single pdf, with multiple pages. The QGIS
function in the layout is working fine but when I try to automate the
process, There's only a pdf with the last page. By watching the process, I
can see that all the pages are made but they overwrite themselves.
The output is configured like this:
[image: image.png]
The automatisation with the 'maps printer plugin' used to work fine, It's
not clear to me why it is not working now.


Cheers
Wouter


Op ma 20 dec. 2021 om 10:00 schreef Dietrich Heintz :

> Hello Wouter,
> what do you mean with overwriting themselves. The Atlas needs a value for
> the filename, which is derived from an entry of the reference geometry?
> ciao Dieter
>
> On 20.12.2021 09:36, Wouter Impens wrote:
>
> Hi Hannes,
>
> Thanks for your answer.
> The names are unique. But the problem is not that one atlas layout is
> overwriting another, they're overwriting themselves. Ik only get the last
> page of each atlas.
> While the atlas is exporting, I can see in the windows explorer that a
> file is made and then reset to 0, only the last atlas page is kept.
>
> Greetings
> Wouter
>
> Op ma 20 dec. 2021 om 09:28 schreef Johannes Kröger (WhereGroup) <
> johannes.kroe...@wheregroup.com>:
>
>> 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
>>
>>
>>
> ___
> Qgis-user mailing listqgis-u...@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
> --
> _
> Kronenbergstr. 7
> CH-8800 Thalwil
>
> +41 76 749 22 77
> +41 43 540 90 71
>
> my web-site 
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Bulk export atlas not working

2021-12-20 Thread Dietrich Heintz

Hello Wouter,
what do you mean with overwriting themselves. The Atlas needs a value
for the filename, which is derived from an entry of the reference geometry?
ciao Dieter

On 20.12.2021 09:36, Wouter Impens wrote:

Hi Hannes,

Thanks for your answer.
The names are unique. But the problem is not that one atlas layout is
overwriting another, they're overwriting themselves. Ik only get the
last page of each atlas.
While the atlas is exporting, I can see in the windows explorer that a
file is made and then reset to 0, only the last atlas page is kept.

Greetings
Wouter

Op ma 20 dec. 2021 om 09:28 schreef Johannes Kröger (WhereGroup)
:

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




___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info:https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-user


--
_
Kronenbergstr. 7
CH-8800 Thalwil

+41 76 749 22 77
+41 43 540 90 71

my web-site 
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Bulk export atlas not working

2021-12-20 Thread Wouter Impens
Hi Hannes,

Thanks for your answer.
The names are unique. But the problem is not that one atlas layout is
overwriting another, they're overwriting themselves. Ik only get the last
page of each atlas.
While the atlas is exporting, I can see in the windows explorer that a file
is made and then reset to 0, only the last atlas page is kept.

Greetings
Wouter

Op ma 20 dec. 2021 om 09:28 schreef Johannes Kröger (WhereGroup) <
johannes.kroe...@wheregroup.com>:

> 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
>
>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Bulk export atlas not working

2021-12-20 Thread WhereGroup

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





OpenPGP_0xBF7B268A77C202D5.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Bulk export atlas not working

2021-12-18 Thread 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
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user