Hi Berin,<br><br>if you use LASlib and you can open LAS files then you can also open LAZ files as the code path is the same. It may be that your LAG file selector does not allow a *.laz ending? In this case simply test by renaming (temporarily) a *.laz file to *.las and try to open it. LASlib decides based in the content (not the ending) whether the LAS file is compressed of not.<br>
<br>Cheers,<br><br>Martin<br><br>PS: if you use lasreadopener, then you would also BIN/SHP/QFIT/ASCII/ASC/BIL support that would get opened "as if" they were LAS files ...<br><br><div class="gmail_quote">On Thu, Aug 23, 2012 at 6:56 AM, Berin Smaldon <span dir="ltr"><<a href="mailto:besm@pml.ac.uk" target="_blank">besm@pml.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<div bgcolor="#ffffff" text="#000000">
<tt>Hi,<br>
<br>
I tried earlier on this machine and it did not, although I heavily
suspect that our system-wide installation is sorely outdated. I
will open an issue on github to remind myself to make sure it is
capable of doing so, as performance is certainly an area we would
like to improve in LAG.<br>
<br>
I will open an issue now though to remind myself to make that
change, since that seems like a logical thing to do. If there is
any other laslib documentation and tips anywhere then I will be
glad to look through and see if there's any easy changes I can
make to improve performance.<br>
<br>
Berin<br>
</tt><div><div class="h5"><br>
<tt>On 23/08/12 14:39, Martin Isenburg wrote:</tt>
<blockquote type="cite">
Hi,<br>
<br>
sweet. so can LAG readily read LAZ files then?<br>
<br>
you can potentially get a lot of speed-up when you load a fenced
area if you use the simple spatial query functionality through
LASindex that LASlib provides. lasreader->inside() functions
instead of doing your own clipping test in line 304 of
LoadWorker.cpp <br>
<br>
if (usearea)<br>
{<br>
if (!vectorTest(fence.getXs(), fence.getYs(), 4,<br>
reader->point.get_x(),
reader->point.get_y()))<br>
{<br>
skip_counter = 0;<br>
continue;<br>
}<br>
<br>
}<br>
<br>
instead you would put a <br>
<br>
reader->inside_rectangle(fence.getXs()[0], fence.getYs()[0],
fence.getXs()[1], fence.getYs()[1]);<br>
<br>
at the beginning of the reader loop and then LASlib will utilize
the spatially indexing LAX files should they be present or not
give you any win otherwise. For the moment you need to dig through
code and LAStools user forum to learn more about LASindex, but I
will present the details at this year's ELMF in Salzburg <br>
<br>
Cheers,<br>
<br>
Martin @rapidlasso<br>
<br>
<div class="gmail_quote">On Thu, Aug 23, 2012 at 6:06 AM, Mark
Seibel <span dir="ltr"><<a href="mailto:mseibel@gmail.com" target="_blank">mseibel@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">When I try to compile LAG, I have all
components present except lidarquadtree.<br>
<br>
I'm trying to compile the lidarquadtree, and have encountered
errors.<br>
<br>
configure error for LAG is:<br>
Package requirements (lidarquadtree >=1.2 were not met: no
package<br>
lidarquadtree found.<br>
<br>
So I went to the lidarquadtree directory in the
lidarsf-lag-53d94dd<br>
directory and did ./configure and make.<br>
<br>
Make returned this error:<br>
In file included from src/LidarPoint.cpp:34:0:<br>
src/LidarPoint.h:38:37: fatal error:
laslib/lasdefinitions.hpp: No<br>
such file or directory<br>
compilation terminated.<br>
<br>
I have the lasdefinitions.hpp file in the laslib directory,
but it is<br>
in ../lastools/laslib/inc/lasdefinitions.hpp<br>
<br>
How do I make configure aware of this file's location? I know
I'm<br>
missing something obvious, but I just cant see it.<br>
<br>
Thanks,<br>
Mark<br>
<div><br>
On Thu, Aug 23, 2012 at 6:18 AM, Berin Smaldon <<a href="mailto:besm@pml.ac.uk" target="_blank">besm@pml.ac.uk</a>>
wrote:<br>
</div>
<div>
<div>> As I gather, open source LAS viewers
have been in short supply for some<br>
> time now, and having been talked about for over a
year, we're finally<br>
> getting around to announcing a GPL licensed LAS
viewer that Mike Grant<br>
> has been promising since the dawn of time. For now,
this only works on Linux, but<br>
> I'm already working on the Windows port, the purpose
here being to get<br>
> people using the software to attract bug reports,
ideas and development.<br>
> So, feel free to try and get it working, I'll be
interested to know how<br>
> it co-operates with other systems.<br>
><br>
> Here is the splash page: <a href="http://arsf.github.com/lag/" target="_blank">http://arsf.github.com/lag/</a><br>
><br>
> The link explains what to do to build it for your
Linux system if you're so inclined, the Windows port is a
bit of a way off yet though, but in the pipeline. If it
were useful to enough people, I could potentially be
persuaded to work out how to build packages for some Linux
package managers too.<br>
><br>
> I acknowledge that the quality of the source code is
poor in places.<br>
> There have been a number of student programmers
before me having pretty<br>
> much free rein over how the program is structured and
what conventions<br>
> are used. Documentation and improving the quality of
the code is high on<br>
> my priority list, but not on the top of it. For now,
my e-mail address<br>
> and the github page are the best sources of
information, and will help<br>
> me work out how the github wiki pages could be more
useful. In a few months when I'm no longer on the project,
whatever e-mail address is on the splash screen or latest
version of the software will have to do instead.<br>
><br>
> Enjoy,<br>
> Berin<br>
><br>
><br>
> <br /><br>
> <hr /><br>
> <p><font face="Arial" size="1"><br>
> Plymouth Marine Laboratory<br /><br>
> Registered Office: <br /><br>
> Prospect Place<br /><br>
> The Hoe<br /><br>
> Plymouth PL1 3DH<br>
> </font></p><br>
><br>
> <p><font face="Arial" size="1">Website:
<a href="<a href="http://www.pml.ac.uk" target="_blank">http://www.pml.ac.uk</a>"><a href="http://www.pml.ac.uk" target="_blank">www.pml.ac.uk</a></a><br>
> <br /><br>
> <a href="<a href="http://www.pml.ac.uk/pdf/PML%20Annual%20Review%202011_2.pdf" target="_blank">http://www.pml.ac.uk/pdf/PML%20Annual%20Review%202011_2.pdf</a>">Click
here for the latest PML Annual Review</a><br>
> <br /><br>
> Registered Charity No. 1091222<br /><br>
> PML is a company limited by guarantee<br /><br>
> registered in England & Wales<br /><br>
> company number 4178503</font></p><br>
><br>
> <p><font face="Arial" size="1"
color="green">Please think before you
print.</font></p><br>
><br>
> <hr /><br>
><br>
> <p><font face="Arial" size="1">This
e-mail, its content and any file attachments are
confidential.</font></p><br>
><br>
> <p><font face="Arial" size="1">If you
have received this e-mail in error please do not copy,
disclose it to any third party or use the contents or
attachments in any way. Please notify the sender by
replying to this e-mail or e-mail <a href="mailto:forinfo@pml.ac.uk" target="_blank">forinfo@pml.ac.uk</a>
and then delete the email without making any copies or
using it in any other way.</font></p><br>
><br>
> <p><font face="Arial" size="1">The
content of this message may contain personal views which
are not the views of Plymouth Marine Laboratory unless
specifically stated.</font></p><br>
><br>
> <p><font face="Arial" size="1">You are
reminded that e-mail communications are not secure and may
contain viruses. Plymouth Marine Laboratory accepts no
liability for any loss or damage which may be caused by
viruses.</font></p><br>
><br>
> <hr /><br>
> <br /><br>
> <br /><br>
><br>
> _______________________________________________<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" target="_blank">http://lists.osgeo.org/mailman/listinfo/liblas-devel</a><br>
_______________________________________________<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" target="_blank">http://lists.osgeo.org/mailman/listinfo/liblas-devel</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</blockquote>
<br>
</div></div><pre><br>
<hr>
<p><font face="Arial" size="1">
Plymouth Marine Laboratory<br>
Registered Office: <br>
Prospect Place<br>
The Hoe<br>
Plymouth PL1 3DH
</font></p>
<p><font face="Arial" size="1">Website: <a href="http://www.pml.ac.uk" target="_blank">www.pml.ac.uk</a><div class="im">
<br>
<a href="http://www.pml.ac.uk/pdf/PML%20Annual%20Review%202011_2.pdf" target="_blank">Click here for the latest PML Annual Review</a>
<br></div>
Registered Charity No. 1091222<div class="im"><br>
PML is a company limited by guarantee<br></div><div class="im">
registered in England & Wales<br></div>
company number 4178503</font></p><div class="im">
<p><font color="green" face="Arial" size="1">Please think before you print.</font></p>
</div><hr><div class="im">
<p><font face="Arial" size="1">This e-mail, its content and any file attachments are confidential.</font></p>
</div><div class="im"><p><font face="Arial" size="1">If you have received this e-mail in error please do not copy, disclose it to any third party or use the contents or attachments in any way. Please notify the sender by replying to this e-mail or e-mail <a href="mailto:forinfo@pml.ac.uk" target="_blank">forinfo@pml.ac.uk</a> and then delete the email without making any copies or using it in any other way.</font></p>
</div><div class="im"><p><font face="Arial" size="1">The content of this message may contain personal views which are not the views of Plymouth Marine Laboratory unless specifically stated.</font></p>
</div><div class="im"><p><font face="Arial" size="1">You are reminded that e-mail communications are not secure and may contain viruses. Plymouth Marine Laboratory accepts no liability for any loss or damage which may be caused by viruses.</font></p>
</div><hr>
<br>
<br>
</pre></div>
</blockquote></div><br>