<div dir="ltr">Hi,<div><br></div><div>I believe that Alex talks about the HAG stored as an additional point atttribute to an "Extra Bytes" field via the '-store_as_extra_bytes' switch.</div><div><br></div><div><a href="http://lastools.org/download/lasheight_README.txt">http://lastools.org/download/lasheight_README.txt</a></div><div><br></div><div>There was a discussion on this in the LAStools user forum whether cm resolution with a scale factor of 0.01 and a 16 bits signed integer storage are enough for most trees.</div><div><br></div><div><a href="http://groups.google.com/forum/#!searchin/lastools/lasheight$20store_as_extra_bytes">http://groups.google.com/forum/#!searchin/lastools/lasheight$20store_as_extra_bytes</a><br></div><div><br></div><div>"Extra Bytes" fields are described in the LAS 1.4 specification and are therefore also more and more readable in other software.<br></div><div><br></div><div>Regards from Brazil,</div><div><br></div><div>Martin @rapidlasso</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 9, 2016 at 9:12 PM, Van Dyke, Daryl <span dir="ltr"><<a href="mailto:daryl_van_dyke@fws.gov" target="_blank">daryl_van_dyke@fws.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">LAStools IIRC encodes the non-standard HAG field into the 'user bytes' portion of the LAS file.  It's special-sauce approach to encoding that information into a user-expandable portion of the LAS standard.<div><br></div><div>To keep in mind: the HAG field (again, IIRC) is based on an internal integer representation - it quantizes the data into the binned integers to store them.  You want to ensure the resolution of the storage is appropriate for your application (though for most tree sizes, in most units, it's probably fine).  <div><br></div><div>I don't think you'll find any tools outside of LASTools that support that feature.  You may also not be aware that the 'free' or non-licensed version of LASTools imposes noise on output.</div><div><br>Daryl</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 9, 2016 at 12:00 PM,  <span dir="ltr"><<a href="mailto:liblas-devel-request@lists.osgeo.org" target="_blank">liblas-devel-request@lists.<wbr>osgeo.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send Liblas-devel mailing list submissions to<br>
        <a href="mailto:liblas-devel@lists.osgeo.org" target="_blank">liblas-devel@lists.osgeo.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.osgeo.org/mailman/listinfo/liblas-devel" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman<wbr>/listinfo/liblas-devel</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:liblas-devel-request@lists.osgeo.org" target="_blank">liblas-devel-request@lists.osg<wbr>eo.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:liblas-devel-owner@lists.osgeo.org" target="_blank">liblas-devel-owner@lists.osgeo<wbr>.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Liblas-devel digest..."<br>
<br>Today's Topics:<br>
<br>
   1. libLAS and HEIGHT_ABOVE_GROUND attribute (Alexandre Guyot)<br>
<br><br>---------- Forwarded message ----------<br>From: Alexandre Guyot <<a href="mailto:alexguyot@yahoo.fr" target="_blank">alexguyot@yahoo.fr</a>><br>To: "<a href="mailto:liblas-devel@lists.osgeo.org" target="_blank">liblas-devel@lists.osgeo.<wbr>org</a>" <<a href="mailto:liblas-devel@lists.osgeo.org" target="_blank">liblas-devel@lists.osgeo.org</a>><br>Cc: <br>Date: Tue, 8 Nov 2016 21:00:17 +0000<br>Subject: [Liblas-devel] libLAS and HEIGHT_ABOVE_GROUND attribute<br><div><div style="color:#000;background-color:#fff;font-family:verdana,helvetica,sans-serif;font-size:13px"><div id="m_-4386984177042842137m_-8738692111892250383yui_3_16_0_ym19_1_1478638363984_5208" dir="ltr"><span id="m_-4386984177042842137m_-8738692111892250383yui_3_16_0_ym19_1_1478638363984_5393">Hi,<br id="m_-4386984177042842137m_-8738692111892250383yui_3_16_0_ym19_1_1478638363984_5380"><br id="m_-4386984177042842137m_-8738692111892250383yui_3_16_0_ym19_1_1478638363984_5381">I'm using the liblas python API to read through some LiDAR point clouds.<br id="m_-4386984177042842137m_-8738692111892250383yui_3_16_0_ym19_1_1478638363984_5383">I can access all the standard point attributes of my dataset, however I can't figure out how to read the HEIGHT_ABOVE_GROUND value of my points.<br id="m_-4386984177042842137m_-8738692111892250383yui_3_16_0_ym19_1_1478638363984_5384">This HEIGHT_ABOVE_GROUND attribute was computed in LAStools using "lasheight".</span></div><div dir="ltr" id="m_-4386984177042842137m_-8738692111892250383yui_3_16_0_ym19_1_1478638363984_5438"><span id="m_-4386984177042842137m_-8738692111892250383yui_3_16_0_ym19_1_1478638363984_5393">This attribute is readable on popular LiDAR viewers (GlobalMapper for instance) but I don't know how to reach it using libLAS.</span></div><br><div dir="ltr" id="m_-4386984177042842137m_-8738692111892250383yui_3_16_0_ym19_1_1478638363984_5505"><span id="m_-4386984177042842137m_-8738692111892250383yui_3_16_0_ym19_1_1478638363984_5393"><span id="m_-4386984177042842137m_-8738692111892250383yui_3_16_0_ym19_1_1478638363984_5480"></span>Any ideas ?<br id="m_-4386984177042842137m_-8738692111892250383yui_3_16_0_ym19_1_1478638363984_5390"><br id="m_-4386984177042842137m_-8738692111892250383yui_3_16_0_ym19_1_1478638363984_5391">Thanks a lot,<br id="m_-4386984177042842137m_-8738692111892250383yui_3_16_0_ym19_1_1478638363984_5392">Alex</span></div><div id="m_-4386984177042842137m_-8738692111892250383yui_3_16_0_ym19_1_1478638363984_5209"> </div><div class="m_-4386984177042842137m_-8738692111892250383signature" id="m_-4386984177042842137m_-8738692111892250383yui_3_16_0_ym19_1_1478638363984_5294"><div id="m_-4386984177042842137m_-8738692111892250383yui_3_16_0_ym19_1_1478638363984_5293"> </div></div></div></div><br>______________________________<wbr>_________________<br>
Liblas-devel mailing list<br>
<a href="mailto:Liblas-devel@lists.osgeo.org" target="_blank">Liblas-devel@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/liblas-devel" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman<wbr>/listinfo/liblas-devel</a><span class="HOEnZb"><font color="#888888"><br></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_-4386984177042842137gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div style="color:rgb(136,136,136)">______________________________<wbr>___________</div><div style="color:rgb(136,136,136)">Daryl Van Dyke</div><div style="color:rgb(136,136,136)">GIS Analyst</div><div style="color:rgb(136,136,136)">Klamath Strategic Habitat Conservation Team</div><div style="color:rgb(136,136,136)">US Fish & Wildlife Service - AFWO, R8</div><div style="color:rgb(136,136,136)"><a value="+17078255153">(707) 825-5153</a></div><div><a value="+17078255153"><font color="#888888">https://github.com/<wbr>GeospatialDaryl</font><br></a></div></div></div></div></div></div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
Liblas-devel mailing list<br>
<a href="mailto:Liblas-devel@lists.osgeo.org">Liblas-devel@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/liblas-devel" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/liblas-devel</a><br></blockquote></div><br></div>