[Qgis-user] Composer Atlas: How get rid of the big red cross when there is no image?

DelazJ delazj at gmail.com
Wed Oct 26 13:19:25 PDT 2016


Hi,
what about using the data-defined option near the "Exclude items from
export" in the items properties --> Rendering (with a case when expression)?
http://docs.qgis.org/2.14/en/docs/user_manual/print_composer/composer_items/composer_items_options.html#rendering-mode

HTH,
Harrissou

2016-10-26 22:10 GMT+02:00 Bernd Vogelgesang <bernd.vogelgesang at gmx.de>:

> Hi,
> I set up a neat atlas for displaying a row of 50 sample plots. On a second
> page, I want to show 2 pictures taken of these plots automatically with an
> expression including the path || @atlas_pagenumber || '_1.jpeg' or
> '_2.jpeg' to display up to two photos named e.g. 1_1.jpeg, 1_2.jpeg.
>
> This works really great! The problem is, that for some plots, we do not
> and have any picture or only one. In composer, these missing images are
> marked with a big red cross.
> Unfortunately, these red crosses are also exported, which looks quite
> shitty.
>
> Is there any clever way of forcing QGIS not to export these place holders
> but just not to print anything at this place?
>
> The only (boring) idea I came up with till now, was to create empty white
> images and name them accordingly to avoid the red crosses.
>
> Thanx
> Bernd
>
> --
> Bernd Vogelgesang
> Siedlerstraße 2
> 91083 Baiersdorf/Igelsdorf
> Tel: 09133-825374
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20161026/bd0c979d/attachment.html>


More information about the Qgis-user mailing list