<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hi Martin,</p>
    <p>Yes - you can use "Atlas print" for that. If you add an Atlas in
      the print composer for the concerned layer, you get an automatic
      Atlas action ("Set as Atlas feature for Atlas"). You can select an
      object in the map or in the attribute table and open the
      corresponding feature in the Atlas. In the Atlas you can use any
      attribute of the atlas feature and use it in graphical properties,
      label content, etc.<br>
    </p>
    <p>Have a look in the manual:
<a class="moz-txt-link-freetext" href="http://docs.qgis.org/2.14/en/docs/user_manual/print_composer/create_output.html#generate-an-atlas">http://docs.qgis.org/2.14/en/docs/user_manual/print_composer/create_output.html#generate-an-atlas</a>
      to get an idea how you can specify the "Atlas" in print composer.
      You can find the "Actions tool" in the toolbar next to the
      "Identify Features" tool in the "Attributes" toolbar. Once an
      atlas is configured on the selected layer, the "Set as Atlas
      feature for Atlas" is automatically added, and you can use this
      tool to select features on the map. After clicking on the object,
      print composer will open and use the selected feature.<br>
    </p>
    <p>Let me know if you need help on that or can find it out yourself.
      I am happy to help if you are stuck. The Atlas is really powerful.
      There is a lot of possibilities, including dynamic styling,
      dynamic HTML content, calling web services, tables, all based on
      the selected atlas feature.<br>
    </p>
    <p>Andreas<br>
    </p>
    <br>
    <div class="moz-cite-prefix">Am 12.11.2016 um 16:00 schrieb
      Schweizer Martin:<br>
    </div>
    <blockquote
cite="mid:EF38A9287755DC418AF2DA010BBEFC218608A4CA@srsofaioi16254.verw.rootso.org"
      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;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 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.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Verdana","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:70.85pt 70.85pt 2.0cm 70.85pt;}
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"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Hi
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif""><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif""
            lang="EN-GB">I want to select a object in QGIS, then open a
            printcomposer and use a value from the selected object.
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif""
            lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif""
            lang="EN-GB">Example:
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif""
            lang="EN-GB">Selected object from Layer 1: ogc_fid = 42,
            name = polygon123, value = 3
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif""
            lang="EN-GB">Text in printcomposer (as it should be): “The
            object polygon123 has the value 3”<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif""
            lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif""
            lang="EN-GB">Is there a way to do such things?
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif""
            lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"
          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-language:DE-CH">Thank
            you and best regards<o:p></o:p></span></p>
        <p class="MsoNormal"
          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-language:DE-CH">Martin
              Schweizer
            </span></b><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-language:DE-CH"><br>
            GIS-Projektleiter<o:p></o:p></span></p>
        <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-language:DE-CH">Amt
              für Geoinformation</span></b><span
style="font-size:8.0pt;font-family:"Verdana","sans-serif";mso-fareast-language:DE-CH"><br>
            Rötistrasse 4 <br>
            4500 Solothurn <br>
            Telefon +41 32 627 75 47 <br>
            Telefax +41 32 627 22 14<br>
            <a moz-do-not-send="true"
              href="mailto:martin.schweizer@bd.so.ch"><span
                style="color:blue">martin.schweizer@bd.so.ch</span></a><br>
            <a moz-do-not-send="true" href="http://www.agi.so.ch/"><span
                style="color:blue">http://www.agi.so.ch</span></a>
          </span><span
            style="font-size:8.0pt;mso-fareast-language:DE-CH"><o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:DE-CH"><o:p> </o:p></span></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>