<html><head></head><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:13px">Hi Martin,<div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" id="yui_3_16_0_ym19_1_1478729429499_19212" style="display: block;"><div style="font-family: verdana, helvetica, sans-serif; font-size: 13px;" id="yui_3_16_0_ym19_1_1478729429499_19211"><div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1478729429499_19210"><div class="y_msg_container" id="yui_3_16_0_ym19_1_1478729429499_19214"><div id="yiv1146572236"><div id="yui_3_16_0_ym19_1_1478729429499_19216"><div style="color:#000;background-color:#fff;font-family:verdana, helvetica, sans-serif;font-size:13px;" id="yui_3_16_0_ym19_1_1478729429499_19215"><div id="yiv1146572236"><div id="yiv1146572236yui_3_16_0_ym19_1_1478729429499_5213"><div id="yiv1146572236yui_3_16_0_ym19_1_1478729429499_5212" style="color:#000;background-color:#fff;font-family:verdana, helvetica, sans-serif;font-size:13px;"><div id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_63767"><br clear="none"></div><div id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_63766">The output of lasinfo is at the bottom of my message.<br clear="none"></div><div dir="ltr" id="yiv1146572236yui_3_16_0_ym19_1_1478729429499_6329">Actually, I've also done it with the '-histo user_data' switch and I get an output confirming your point (average of ~38.4 for the user_data field = an average HAG of 3.8m) :</div><div dir="ltr" id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64410"><br clear="none"></div><div dir="ltr" id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64922">--><br clear="none"></div><div dir="ltr" id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64446">user data histogram with bin size 0<br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64887" clear="none"> bin [0,0) has 994185<br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64888" clear="none"> average user data <b id="yiv1146572236yui_3_16_0_ym19_1_1478729429499_6421">38.4314</b> for 994185 element(s)</div><div id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_63610"><div id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64732"> <--</div><div id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64923"><br clear="none"></div><div dir="ltr" id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64987">So the issue seems to come from my use of the libLAS python API for which I only get a "user_data = 2" for all my points.<br clear="none"></div><div dir="ltr" id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_65023">I am simply doing :</div><div dir="ltr" id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_65161"><br clear="none"></div><div dir="ltr" id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_65159">from liblas import file<br clear="none"></div><div dir="ltr" id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_65036">cloud = file.File(las_file, mode='r')<br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_65052" clear="none">for point in cloud :<br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_65056" clear="none"> print(point.user_data)</div><div id="yiv1146572236yui_3_16_0_ym19_1_1478729429499_6514"><br clear="none"></div><div dir="ltr" id="yiv1146572236yui_3_16_0_ym19_1_1478729429499_6120">There's probably something I'm not getting.</div><div dir="ltr" id="yiv1146572236yui_3_16_0_ym19_1_1478729429499_6167"><br clear="none"></div><div dir="ltr" id="yiv1146572236yui_3_16_0_ym19_1_1478729429499_6168">Cheers,</div><div dir="ltr" id="yiv1146572236yui_3_16_0_ym19_1_1478729429499_6171">Alex <br clear="none"></div></div><div class="yiv1146572236qtdSeparateBR" id="yiv1146572236yui_3_16_0_ym19_1_1478729429499_5279"><br clear="none"><br clear="none"></div><div class="yiv1146572236yqt0671426326" id="yiv1146572236yqt76332"><div class="yiv1146572236yqt6214791663" id="yiv1146572236yqt54610"><div class="yiv1146572236qtdSeparateBR" id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_63762"><div id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64597">------------------<br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64598" clear="none"></div><div dir="ltr" id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64599"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64600">reporting all LAS header entries:</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64601" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64602"> file signature: 'LASF'</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64603" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64604"> file source ID: 1321</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64605" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64606"> global_encoding: 0</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64607" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64608"> project ID GUID data 1-4: 00000000-0000-0000-0000-000000000000</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64609" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64610"> version major.minor: 1.2</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64611" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64612"> system identifier: 'LAStools (c) by rapidlasso GmbH'</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64613" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64614"> generating software: 'lasclassify (160921) unlicensed'</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64615" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64616"> file creation day/year: 296/2015</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64617" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64618"> header size: 227</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64619" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64620"> offset to point data: 229</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64621" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64622"> number var. length records: 0</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64623" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64624"> point data format: 1</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64625" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64626"> point data record length: 28</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64627" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64628"> number of point records: 994185</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64629" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64630"> number of points by return: 865554 116711 11586 341 0</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64631" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64632"> scale factor x y z: 0.01 0.01 0.01</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64633" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64634"> offset x y z: 0 0 0</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64635" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64636"> min x y z: 597225.00 5331425.00 -6.10</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64637" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64638"> max x y z: 597500.00 5331675.00 67.05</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64639" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64640">the header is followed by 2 user-defined bytes</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64641" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64642">LASzip compression (version 2.4r1 c2 50000): POINT10 2 GPSTIME11 2</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64643" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64644">reporting minimum and maximum for all LAS point record entries ...</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64645" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64646"> X 59722500 59750000</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64647" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64648"> Y 533142500 533167500</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64649" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64650"> Z 1206 6705</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64651" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64652"> intensity 1 4085</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64653" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64654"> return_number 1 4</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64655" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64656"> number_of_returns 1 4</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64657" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64658"> edge_of_flight_line 0 1</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64659" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64660"> scan_direction_flag 0 1</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64661" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64662"> classification 1 6</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64663" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64664"> scan_angle_rank -10 2</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64665" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64666"> user_data 0 255</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64667" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64668"> point_source_ID 212 213</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64669" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64670"> gps_time 293715.352716 294035.308603</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64671" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64672">number of first returns: 865554</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64673" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64674">number of intermediate returns: 11938</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64675" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64676">number of last returns: 865515</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64677" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64678">number of single returns: 748822</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64679" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64680">WARNING: for return 2 real number of points by return (116706) is different from header entry (116711).</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64681" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64682">WARNING: for return 3 real number of points by return (11585) is different from header entry (11586).</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64683" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64684">WARNING: for return 4 real number of points by return (340) is different from header entry (341).</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64685" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64686">overview over number of returns of given pulse: 748822 210241 33761 1361 0 0 0</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64687" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64688">histogram of classification of points:</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64689" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64690"> 224735 unclassified (1)</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64691" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64692"> 358860 ground (2)</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64693" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64694"> 342265 high vegetation (5)</span><br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64695" clear="none"><span id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64696"> 68325 building (6)</span></div><div dir="ltr" id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64848">user data histogram with bin size 0<br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64851" clear="none"> bin [0,0) has 994185<br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64852" clear="none"> average user data 38.4314 for 994185 element(s)<br id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64697" clear="none">------------------</div><br clear="none"><br clear="none"></div></div></div></div></div></div><div class="yiv1146572236yqt0671426326" id="yiv1146572236yqt13752"><div id="yui_3_16_0_ym19_1_1478729429499_19228"> <div id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_63324" style="font-family:verdana, helvetica, sans-serif;font-size:13px;"> <div id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_63323" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div dir="ltr" id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_63322"> <font id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_63662" size="2" face="Arial"> </font><hr id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_63925" size="1"> <b><span style="font-weight:bold;">De :</span></b> Martin Isenburg <martin.isenburg@gmail.com><br clear="none"> <b><span style="font-weight:bold;">À :</span></b> Alexandre Guyot <alexguyot@yahoo.fr> <br clear="none"><b><span style="font-weight:bold;">Cc :</span></b> Howard Butler <howard@hobu.co>; "Van Dyke, Daryl" <daryl_van_dyke@fws.gov>; "Liblas-devel@lists.osgeo.org" <liblas-devel@lists.osgeo.org><br clear="none"> <b id="yui_3_16_0_ym19_1_1478729429499_19230"><span style="font-weight:bold;" id="yui_3_16_0_ym19_1_1478729429499_19229">Envoyé le :</span></b> Mercredi 9 novembre 2016 22h45<br clear="none"> <b><span style="font-weight:bold;">Objet :</span></b> Re: [Liblas-devel] Liblas-devel Digest, Vol 79, Issue 1<br clear="none"> </div> <div class="yiv1146572236y_msg_container" id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_63924"><br clear="none"><div id="yiv1146572236"><div id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_63923"><div dir="ltr" id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_63922">Hi,<div id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_63926"><br clear="none"></div><div id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_63921">We created lasinfo so you can share an overview of the contents of LAS / LAZ files without having to send the whole file ...</div><div id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_63927"><br clear="none"></div><div>lasinfo -i sample.laz -odix _info -otxt </div><div id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64360"><br clear="none"></div><div id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64361"><a rel="nofollow" shape="rect" target="_blank" href="http://rapidlasso.com/lasinfo">http://rapidlasso.com/lasinfo</a></div><div id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64493"><a rel="nofollow" shape="rect" target="_blank" href="http://lastools.org/download/lasinfo_README.txt">http://lastools.org/download/lasinfo_README.txt</a></div><div id="yui_3_16_0_ym19_1_1478729429499_19233"><a rel="nofollow" shape="rect" target="_blank" href="http://www.liblas.org/utilities/lasinfo.html" id="yui_3_16_0_ym19_1_1478729429499_19232">http://www.liblas.org/utilities/lasinfo.html</a><br clear="none"></div><div id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64492"><br clear="none"></div><div id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64491">Regards,</div><div id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64110"><br clear="none"></div><div id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64490">Martin</div></div><div class="yiv1146572236yqt9393584721" id="yiv1146572236yqt65576"><div class="yiv1146572236gmail_extra" id="yiv1146572236yui_3_16_0_ym19_1_1478721586313_64098"><br clear="none"><br></div></div></div></div></div></div></div></div></div></div></div></div></div> </div> </div> </div></div></body></html>