<div dir="ltr"><span style="font-size:small;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">On a related note, I tried compiling liblas1.8.1 ( current version)  on Ubuntu 18.04 last night and I get a lot of errors out of the box that seem to be related to compiler version.  Will need to set up a virtual 16.04 box for the short term.</span>  <br><div><br></div><div>Doug</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 9, 2018 at 4:14 PM, Newcomb, Doug <span dir="ltr"><<a href="mailto:doug_newcomb@fws.gov" target="_blank">doug_newcomb@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"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Wed, May 9, 2018 at 4:02 PM, Markus Neteler <span dir="ltr"><<a href="mailto:neteler@osgeo.org" target="_blank">neteler@osgeo.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Wed, May 9, 2018 at 9:37 PM, Newcomb, Doug <<a href="mailto:doug_newcomb@fws.gov" target="_blank">doug_newcomb@fws.gov</a>> wrote:<br>
> On Wed, May 9, 2018 at 3:21 PM, Markus Neteler <<a href="mailto:neteler@osgeo.org" target="_blank">neteler@osgeo.org</a>> wrote:<br>
>><br>
>> Doug,<br>
>><br>
>> On Wed, May 9, 2018 at 9:17 PM, Newcomb, Doug <<a href="mailto:doug_newcomb@fws.gov" target="_blank">doug_newcomb@fws.gov</a>><br>
>> wrote:<br>
>> > Markus,<br>
>> > Liblas reads LAS version 1.2 , which is limited to 4.2 billion points.<br>
>><br>
>> I see. But "count" states 297.683.873 which is way less points?<br>
><br>
> Good question<br>
><br>
>> > You have to compile liblas with an older version of laszip .<br>
>><br>
>> Uhm, why an _older_ version?<br>
><br>
> The API to LASzip changed with version 3.   I use LASzip 2.2.0 compiled with<br>
> liblas from 2013 and have no problems so far.   <a href="https://laszip.org/" rel="noreferrer" target="_blank">https://laszip.org/</a> The most<br>
> recent version of 3  was for version 1.4 of the LAS spec.<br>
><br>
> You need to compile current pdal and current  liblas with different versions<br>
> of the Laszip library .<br>
<br>
</span>On that machine is PDAL-1.7.0 (wit patches) which requires laszip 3.2.x.<br>
<br>
So, to compile liblas with an older laszip would be tricky.<br></blockquote><div><br></div></span><div>On the machine I am using for this  , I have compiled the old laszip as the system laszip library and compile but do not install the newer one.  I then point pdal to the directory with the newer version when compiling it.  So far, that seems to work.</div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span><br>
> pdal used to output version 1.2 of las data by default . I t worked fine for<br>
> me at version 1.6 . I have not checked if that is the case with version<br>
> 1.7.1 .  1.7 had a bug which required a quick bugfix to 1.7.1, by the way. (<br>
> I do not recall the bug off of the top of my head.)<br>
<br>
</span>The solution would be the implementation of r.in.pdal:<br>
<a href="https://trac.osgeo.org/grass/ticket/3515" rel="noreferrer" target="_blank">https://trac.osgeo.org/grass/t<wbr>icket/3515</a> </blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
to get rid of liblas which is not developed any more. </blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
And/or package laz-perf.... sigh, so many hours already spent on packaging...<br>
<span class="m_6221559369240132424HOEnZb"><font color="#888888"><br>
Markus<br>
<br>
</font></span></blockquote></span></div><span class=""><br>Doug<br clear="all"><div><br></div>-- <br><div class="m_6221559369240132424gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><div>Doug Newcomb</div><div>USFWS</div><div>551F Pylon Dr</div><div>Raleigh, NC</div><div>919-856-4520 ext. 14 <a href="mailto:doug_newcomb@fws.gov" target="_blank">doug_newcomb@fws.gov</a></div><div>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>---------------</div><div><br></div></div><div><b style="font-size:12.8px"><i><font color="#0000ff">NOTE: This email correspondence and any attachments to and from this sender is subject to the Freedom of Information Act (FOIA) and may be disclosed to third parties.</font></i></b><span style="color:rgb(0,0,255);font-family:"courier new",monospace;font-size:12.8px">​</span><br></div></div></div></div></div></div>
</span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><div>Doug Newcomb</div><div>USFWS</div><div>551F Pylon Dr</div><div>Raleigh, NC</div><div>919-856-4520 ext. 14 <a href="mailto:doug_newcomb@fws.gov" target="_blank">doug_newcomb@fws.gov</a></div><div>---------------------------------------------------------------------------------------------------------</div><div><br></div></div><div><b style="font-size:12.8px"><i><font color="#0000ff">NOTE: This email correspondence and any attachments to and from this sender is subject to the Freedom of Information Act (FOIA) and may be disclosed to third parties.</font></i></b><span style="color:rgb(0,0,255);font-family:"courier new",monospace;font-size:12.8px">​</span><br></div></div></div></div></div></div>
</div>