<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Sounds promising.<br>
    Thanks Alexandre and Roland<br>
    <br>
    Now where did I put my 'do not disturb' sign.....?<br>
    <br>
    Regards,<br>
    Zoltan<br>
    <br>
    <div class="moz-cite-prefix">On 2021-10-15 11:13, Alexandre Neto
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CA+H0G_HZ=YfMh8K38Ek5qBTOzdA46YEBYN_zF+DuMQ=1DK5o9Q@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>Ah! good to see that video put to good use :-)</div>
        <div><br>
        </div>
        <div>Yes, Zoltan, all you ask seems possible to me. The secret
          is in the way you prepare your coverage layer to iterate over
          the items. Check the video comment as I forgot to explain one
          step in the video.</div>
        <div><br>
        </div>
        <div>
          <div>I also have this old blog post that covers dynamic size
            pages. The expressions are a bit outdated. that is, there
            are now functions that make the expressions easier:</div>
          <div><br>
          </div>
          <div><a href="https://gisunchained.wordpress.com/tag/atlas/"
              moz-do-not-send="true" class="moz-txt-link-freetext">https://gisunchained.wordpress.com/tag/atlas/</a></div>
          <div><br>
          </div>
          <div>Alexandre Neto</div>
          <div>QGIS Support</div>
          <div><a href="http://www.qcooperative.net"
              moz-do-not-send="true">www.qcooperative.net</a><br>
          </div>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Fri, Oct 15, 2021 at 9:53
          AM Roland Spielhofer <<a href="mailto:rspiel@gmx.net"
            moz-do-not-send="true" class="moz-txt-link-freetext">rspiel@gmx.net</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div>
            <div style="font-family:Verdana;font-size:12px">
              <div>Hi Zoltan,</div>
              <div>I guess your first item is covered here:</div>
              <div><a href="https://www.youtube.com/watch?v=NCsnTt6uxXo"
                  target="_blank" moz-do-not-send="true"
                  class="moz-txt-link-freetext">https://www.youtube.com/watch?v=NCsnTt6uxXo</a></div>
              <div> </div>
              <div>I call the video "Atlas on steroids" ;-)</div>
              <div> </div>
              <div>Regards,</div>
              <div>Roland</div>
              <div> </div>
              <div> 
                <div> 
                  <div name="quote" style="margin:10px 5px 5px
                    10px;padding:10px 0px 10px 10px;border-left:2px
                    solid rgb(195,217,229)">
                    <div style="margin:0px 0px 10px"><b>Gesendet:</b> Freitag,
                      15. Oktober 2021 um 10:39 Uhr<br>
                      <b>Von:</b> "Zoltan" <<a
                        href="mailto:zoltans@geograph.co.za"
                        target="_blank" moz-do-not-send="true"
                        class="moz-txt-link-freetext">zoltans@geograph.co.za</a>><br>
                      <b>An:</b> "qgis-user" <<a
                        href="mailto:qgis-user@lists.osgeo.org"
                        target="_blank" moz-do-not-send="true"
                        class="moz-txt-link-freetext">qgis-user@lists.osgeo.org</a>><br>
                      <b>Betreff:</b> [Qgis-user] QGIS Atlas gymnastics</div>
                    <div name="quoted-content">Hi,<br>
                      I wonder if someone can confirm if below is
                      possible or not, using the Atlas facilities  QGIS
                      3.20.3 in WIndows 10.<br>
                      <br>
                      Two issues, the second relying on the first.<br>
                      <b>#1 Variable size Map Item.</b><br>
                      I would like to vary the size of the Map Item
                      window, depending on the zoom window of the Atlas
                      page.<br>
                      I can set the "Position and Size" using an
                      Expression or an attribute Field, but this seems
                      to be fixed rather than dynamic<br>
                      ie: Is it possible to have Expression and/or Field
                      values dynamic per Atlas coverage page?<br>
                      <br>
                      <b>#2 Multiple Sub-maps per MapSheet.</b><br>
                      Is it possible to have an Atlas page layout such
                      that (say) in the top half of the page you have
                      your zoomed map (as in #1 above) and in the bottom
                      half of that sheet-page you place n-mapboxes  as
                      insets predefined as n-AOI rectangles inside the
                      zoom-window in the top of this MapPage?<br>
                      <br>
                      <b>A practical example/use would be:</b><br>
                      Say you are doing an aerial analysis of a stretch
                      of river and you have identified areas of interest
                      by placing oriented rectangles around them.<br>
                      You now want to show an overview of segments of
                      the river, and then a zoom-in to each identified
                      AOI rectangle to show larger scale prints below
                      this river segment.<br>
                      <br>
                      <b>Method could/would be to:</b>
                      <blockquote>Using the width of your intended page
                        size, calculate the length of river you can fit
                        across 1 page of your Atlas. Let's assume 1Km<br>
                        Now a river meanders so you cannot run down the
                        polyline depicting the river, you need to rotate
                        and cut the river to the width of your atlas
                        page.<br>
                        This means your atlas Map-Item width will be
                        constant, but the height, due to curvatures in
                        the river, will vary.<br>
                        Once you have your oriented MBRs calculated
                        along the river, you can use these as your Atlas
                        Coverage layer.<br>
                        To show this with optimal page-area usage, you
                        would need the Atlas facility I describe in <b>#1
                          above</b>.<br>
                        <br>
                        Now, along the river you will have pre-placed
                        your oriented AOI rectangles.<br>
                        These will be much smaller rectangles than the
                        1Km river-length Atlas Coverage rectangles.<br>
                        Now, for each AOI rectangle inside the current
                        1Km coverage rectangle, I want to show a larger
                        scale image below the current coverage
                        rectangle.<br>
                        If<b> #2 above</b> was possible and flexible,
                        one could use the calculated (current) bottom
                        left paper coord of the coverage rectangle to
                        calculate the top-left position of the first AOI
                        area.<br>
                        And so on across then down the remaining Atlas
                        page for subsequent AOI boxes, which will likely
                        be of varying size.</blockquote>
                      I suppose this is rather like wanting an Atlas
                      page-set within and Atlas page.<br>
                      <br>
                      Anyone achieved something like this?<br>
                      Does this sound useful?<br>
                      <br>
                      I guess, unless I've missed some facility in
                      Atlas, I will be doing this by using the Atlas
                      facility to spit out carefully named jpeg images,
                      and then assembling the pages using Python and
                      LibreOffice (or something).<br>
                      <br>
                      All thoughts/directions welcome.<br>
                      <br>
                      Kind regards,<br>
                      Zoltan<br>
                      <br>
                       
                      <pre>--

=============================================
Zoltan Szecsei GPrGISc 0031
Geograph (Pty) Ltd.
GIS and Photogrammetric Services

Cape Town, South Africa.

Mobile: +27-83-6004028 (Signal, not WhatsApp)
<a href="http://www.geograph.co.za" target="_blank" moz-do-not-send="true">www.geograph.co.za</a>
=============================================
</pre>
                      _______________________________________________
                      Qgis-user mailing list <a
                        href="mailto:Qgis-user@lists.osgeo.org"
                        target="_blank" moz-do-not-send="true"
                        class="moz-txt-link-freetext">Qgis-user@lists.osgeo.org</a>
                      List info: <a
                        href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
                        target="_blank" moz-do-not-send="true"
                        class="moz-txt-link-freetext">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
                      Unsubscribe: <a
                        href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
                        target="_blank" moz-do-not-send="true"
                        class="moz-txt-link-freetext">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          _______________________________________________<br>
          Qgis-user mailing list<br>
          <a href="mailto:Qgis-user@lists.osgeo.org" target="_blank"
            moz-do-not-send="true" class="moz-txt-link-freetext">Qgis-user@lists.osgeo.org</a><br>
          List info: <a
            href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
            rel="noreferrer" target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
          Unsubscribe: <a
            href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
            rel="noreferrer" target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
        </blockquote>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 

=============================================
Zoltan Szecsei GPrGISc 0031
Geograph (Pty) Ltd.
GIS and Photogrammetric Services

Cape Town, South Africa.

Mobile: +27-83-6004028 (Signal, not WhatsApp)
<a class="moz-txt-link-abbreviated" href="http://www.geograph.co.za">www.geograph.co.za</a>
=============================================
</pre>
  </body>
</html>