[Qgis-user] Tweaking an Atlas

Nicolas Cadieux njacadieux.gitlab at gmail.com
Wed May 11 09:06:34 PDT 2022


Hi,

This did it

IF (@atlas_featurenumber  = 1,0,1)

Intuition says this should be 1 for include and 0 to exclude but it's 
the contrary.  This is a double negative situation as "Exclude item from 
exports" must be checked as False.

Thanks for the tips!

Nicolas

On 2022-05-11 1:56 a.m., Alexandre Neto wrote:
> Hi!
>
> Sorry, I mislead you with a wrong name
>
> It's the "Exclude item from exports"
>
> https://docs.qgis.org/3.22/en/docs/user_manual/print_composer/composer_items/composer_items_options.html#rendering-mode
>
> The data-defined expression expects a true or false (1 or 0) so you 
> can use whatever you prefer to check that out. In the limit, you can 
> add an extra boolean column to you atlas layer called 
> "exclude_overview" and fill in a yes for the features you don't want 
> to show a overview. The use that column in the data-defined properties 
> of the "exclude item from export"
>
> Alexandre Neto
> User Support
> www.qcooperative.net <http://www.qcooperative.net>
>
> A quarta, 11/05/2022, 04:18, Nicolas Cadieux 
> <njacadieux.gitlab at gmail.com> escreveu:
>
>     Hi Alexandre,
>
>     In the layout, under Item Properties/Rendering, I was able to
>     change the overview map opacity using IF (@atlas_featurenumber =
>     '1','100','0').  Is there a better method?
>
>     Thanks everyone for the tips, I am finally figuring this out slowly.
>
>     Nicolas
>
>
>
>     On 2022-05-10 5:07 p.m., Alexandre Neto wrote:
>>     All items in the layout have a render item in outputs option.
>>     It's data-defined. So you can put a expression like if
>>     @atlas_page in (3,6,9,12)
>>
>>     Alexandre Neto
>>
>>     A terça, 10/05/2022, 21:06, Alexis R.L. via Qgis-user
>>     <qgis-user at lists.osgeo.org> escreveu:
>>
>>
>>         You could use the Data-defined variables to move elements in
>>         and out of the page layout depending on the atlas page
>>         name/number.
>>
>>         Alex
>>
>>
>>         Le mar. 10 mai 2022 à 13:58, Nicolas Cadieux via Qgis-user
>>         <qgis-user at lists.osgeo.org> a écrit :
>>
>>             Hi,
>>
>>             I have a series of map that could work well this an Atlas
>>             but I would
>>             need to add thing like Zoom in or Overview maps on some
>>             specific pages
>>             only.  Can we add objects like new maps on specific pages
>>             of an Atlas?
>>
>>             If not, is there a function or way to go from Atlas page
>>             2  -> New
>>             layout? I figure the only way to do this is to turn on
>>             the Atlas
>>             preview, go to the selected preview, turn the Atlas
>>             preview off and the
>>             save as a new layout? Is there a better way?
>>
>>             -- 
>>             Nicolas Cadieux
>>             https://gitlab.com/njacadieux
>>
>>             _______________________________________________
>>             Qgis-user mailing list
>>             Qgis-user at 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 at lists.osgeo.org
>>         List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>         Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>     -- 
>     Nicolas Cadieux
>     https://gitlab.com/njacadieux
>
-- 
Nicolas Cadieux
https://gitlab.com/njacadieux
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20220511/493eefdd/attachment.htm>


More information about the Qgis-user mailing list