<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <span lang="EN-US">Claus,</span><br>
    It may not be exactly what you want, but one suggestion would be to
    derive the centroids from the building polygons (making sure there
    within the polygon) and then use the point sampling tool to pull the
    elevations from your DSM. of course that will not guarantee that you
    get the max height<br>
    If you can, it may be best to go back to the DSM source, the raw
    data used to derive the DSM. If it is, for instance a point cloud
    dataset, like that from Lidar, you could select all points within
    your polygons, then extract only the points at the apex (first
    returns), just a thought. <br>
    Regards,<br>
    <br>
    Richard<br>
    <br>
    <div class="moz-cite-prefix">On 10/03/2016 11:52, Claus Backalarz
      wrote:<br>
    </div>
    <blockquote cite="mid:61hgje01adg9m368@seg1.opw.ie" type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <style>
<!--
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif"}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
span.BalloonTextChar
        {font-family:"Tahoma","sans-serif"}
span.hps
        {}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
        {}
-->
</style>
      <div class="WordSection1">
        <p class="MsoNormal"><span lang="EN-US">Hi, we are novices in
            the QIS-world so bear with misunderstandings and
          </span><span class="hps"><span lang="EN">misconceptions.</span></span></p>
        <p class="MsoNormal"><span lang="EN-US"> </span></p>
        <p class="MsoNormal"><span lang="EN-US">We have a raster layer
            with surface heights called DSM_611_86. Originally it is was
            a plain text file with a header describing number of rows
            and columns, geographically lower left corner etc. Data was
            the surface heights in 6250 rows and 6250 columns. The file
            was imported without problems with “Add raster layer” in
            QGIS. It is beautiful showed in QGIS2.14 Essen on Windows 7.
            So far no problem.</span></p>
        <p class="MsoNormal"><span lang="EN-US"> </span></p>
        <p class="MsoNormal"><span lang="EN-US">But we want with (a lot)
            of polygons representing buildings to select all surface
            heights inside this polygons. The selected heights should
            afterward be saved as a reduced raster layer or, even
            better, as a shape file of points with an attribute for the
            heights. In other words as a layer of points with one and
            only one attribute, the surface height.</span></p>
        <p class="MsoNormal"><span lang="EN-US"> </span></p>
        <p class="MsoNormal"><span lang="EN-US">We have tried the
            plug-in “Point Sampling Tools” and some other hints from
            QGIS home pages, but I seems that select and save heights in
            the described way is “out of scope”.</span></p>
        <p class="MsoNormal"><span lang="EN-US"> </span></p>
        <p class="MsoNormal"><span lang="EN-US">Do anybody have a useful
            way out of this problem ?</span></p>
        <p class="MsoNormal"><span lang="EN-US"> </span></p>
        <p class="MsoNormal"><span lang="EN-US">Best regards</span></p>
        <p class="MsoNormal"><span lang="EN-US">Claus B</span></p>
        <p class="MsoNormal"><span lang="EN-US"> </span></p>
        <table class="MsoNormalTable" style="width:450.0pt;
          border-collapse:collapse" border="0" cellpadding="0"
          cellspacing="0" width="600">
          <tbody>
            <tr>
              <td style="width:450.0pt; padding:0cm 0cm 0cm 0cm"
                width="600">
                <p class="MsoNormal"><span style="font-size:7.5pt;
                    font-family:"Times New
                    Roman","serif"; color:#7D7D7D"> </span></p>
              </td>
            </tr>
          </tbody>
        </table>
        <p class="MsoNormal"> </p>
      </div>
      <p>
        <table class="ImprintUniqueIDTable" cols="1" style="width:600px;
          border-collapse:collapse" border="0" cellpadding="0"
          cellspacing="0">
          <tbody>
            <tr>
              <td><font color="#7d7d7d" size="1" face="Verdana">The
                  information transmitted is intended only for the
                  person or entity to which it is addressed and may
                  contain confidential and/or privileged material. Any
                  review, retransmission, dissemination or other use of,
                  or taking of any action in reliance upon, this
                  information by persons or entities other than the
                  intended recipient is prohibited. If you received this
                  in error, please contact the sender and delete the
                  material from any computer.</font></td>
            </tr>
          </tbody>
        </table>
      </p>
      <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>
    <div class="moz-signature">-- <br>
      <b><u>Richard McDonnell</u></b><br>
      <b><small><small><small>GIS Specialist PgD GIS AssocSCSI</small></small></small></b><br>
      <b><small>OPW FRM Data Management</small></b><br>
      <b><small>52 Stephens Green, Dublin 2.</small></b><br>
      <small><small>TEL: 01 6476543</small></small></div>
  <!-- http://www.unicodetools.com/unicode/convert-to-html.php -->
<div style="font-family: Arial; font-size: 8pt;">
OPW - Ag féachaint don am atá le teacht - Ag caomhnú ón am atá thart<br/>
OPW - Looking to the future - Caring for the past<br/>
<a href="http://www.opw.ie/"><img height="76" width="494" src="http://www.opw.ie/en/media/opw-email-banner.png"/></a><br/>
Email Disclaimer: <a href="http://www.opw.ie/en/disclaimer/">http://www.opw.ie/en/disclaimer/</a>
</div>

</body>
</html>