<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Thomas,<br>
    <br>
    You will need a table with a record per page for the atlas coverage
    layer.<br>
    <br>
    So if, f.e. you have a table with administrative units (with
    geometries) and a table with temporal layers (e.g. an ortho-image
    every 5 years or so) you will need to do a cross-join between the
    two tables.<br>
    <br>
    See <a class="moz-txt-link-freetext" href="http://www.tutorialspoint.com/sqlite/sqlite_using_joins.htm">http://www.tutorialspoint.com/sqlite/sqlite_using_joins.htm</a><br>
    <br>
    You can use the new Virtual layer feature from QGIS 2.14 to create
    such a layer on-the-fly without having to store a separate layer.
    Let us know if you need help on the virtual layer.<br>
    <br>
    Hope this helps,<br>
    Andreas<br>
    <br>
    <div class="moz-cite-prefix">On 01.03.2016 16:58, Thomas Colley
      wrote:<br>
    </div>
    <blockquote
cite="mid:C6BE00E0E4E1A547B4E1E360B18256D784A1D587@NPT-EXCH2010P1.neath-porttalbot.gov.uk"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">Hi everyone<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I was just looking through the changelogs
          and got really excited when I saw data defined control over
          map layers! (<a moz-do-not-send="true"
href="http://www.qgis.org/en/site/forusers/visualchangelog212/index.html#feature-data-defined-control-over-map-layers-and-style-presets">http://www.qgis.org/en/site/forusers/visualchangelog212/index.html#feature-data-defined-control-over-map-layers-and-style-presets</a>)<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">This is exactly what I’d been asking about
          on the list last year (<a moz-do-not-send="true"
href="http://lists.osgeo.org/pipermail/qgis-user/2015-August/033211.html">http://lists.osgeo.org/pipermail/qgis-user/2015-August/033211.html</a>)
          so thanks so much to Nyall for adding this functionality!<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I’m not 100% sure that I’m using it in the
          correct way though. I have managed to achieve it by
          duplicating my atlas coverage features so that there is one
          feature per layer with an attribute holding the layer name. I
          then use the attribute in the data defined layers option.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Is this the way to do it or am I missing
          something? I wasn’t sure where/if the ‘set layer list from a
          visibility preset’ should come into play.
          <o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">When I first read the post I thought that
          the | separated list of layers would be cycled through one by
          one but then realised that they’d all be displayed together.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I have a static list of 20 or so layers to
          cycle through for each site so ideally if I could specify a
          list of layers (or visibility presets) to loop through that
          would be amazing.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Failing that I can write a little plugin to
          take a selected feature and create a scratch layer with the
          feature duplicated with the layer attribute values.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Thanks again for adding this, it’ll be a
          massive time saver for us!<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Tom<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
    </blockquote>
    <br>
  </body>
</html>