FieldStudiesCouncil / QGIS-Biological-Recording-Tools

QGIS plugin for biological recorders. Created with the FSC Tomorrow's Biodiversity project.
GNU General Public License v3.0
10 stars 4 forks source link

error in batch composer image maps using QGIS 3.10 #58

Closed pete-ginny closed 2 years ago

pete-ginny commented 2 years ago

Hi Rich, Saw your recent fix for issue #57 so I updated QGIS to 3.22 LTR and installed the latest tombio too and tested composer image/atlas output again. I still have the problem that composer image maps all have same dots on all species maps. Any chance of a fix soon? cheers, Pete

original issue..... I am trying to create 670 distribution maps in an atlas. I create the temp maps no problem but when I select batch maps and output composer image maps using the same layout as last year I get 12Mb png files with the correct taxon map title and layout grid BUT the dots on each map are all the same ie. it is ignoring the batch maps option, but title and file name are changing for each taxon .

A 2nd issue is during atlas creation. Having created the composer image files, I use the layout screen atlas tab to output each map as a small jpg with filename "mapxx.yyyy" from the metadata. when I run the atlas it outputs each map correctly as jpg and with correct filename BUT each map now has a title of #ABH no# #Taxon# ie the correct title on the composer image has been overwriten.

If I deselect the temp files I get no dots on the maps, as one would expect. I am using the latest version of tombio.

As it is only the 2nd year that I have created maps via QGIS, I could be doing something wrong but I really think there is a bug here. I would appreciate help please. Cheers, Pete

burkmarr commented 2 years ago

Hello Pete. There is another - perhaps related - bug on the generation of images with composer (https://github.com/FieldStudiesCouncil/QGIS-Biological-Recording-Tools/issues/57). I need to take a look at these and get a new release out. I will start to take a look this week. But I can only do it in my own time and, as luck would have it, I'm away this coming weekend. So if you can bear with me for a short while, I will trying to address these bugs and get a release out within a couple of weeks.

pete-ginny commented 2 years ago

Hi Rich, Thanks for your help. I have run tombio for all 660 maps without problem. As you said, the issue was that I had 2 map items in layout with only one marked visible. Having deleted the redundant map item from my template, everything works fine. I am happy to close #58 & #59 which are the same issue. Cheers, Pete