<html><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:10pt"><div><span>Hello,</span></div><div><br><span></span></div><div><span>Just trying to install GRASS 7 on Ubuntu 10.04 to try out the las import functions but I'm getting error messages during the configure that it is unable to find the liblas library, however the liblas library is installed in usr/bin/lib/ so I'm a bit puzzled...</span></div><div><br><span></span></div><div><span>Did anyone else get stuck here or am I missing something obvious?</span></div><div><br><span></span></div><div>Thanks for reading,</div><div>Rebecca<br><span></span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div style="font-family: verdana,helvetica,sans-serif; font-size: 10pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Arial" size="2"><hr
 size="1"><b><span style="font-weight: bold;">From:</span></b> Markus Metz &lt;markus.metz.giswork@googlemail.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> Hamish &lt;hamish_b@yahoo.com&gt;<br><b><span style="font-weight: bold;">Cc:</span></b> grass-user &lt;grass-user@lists.osgeo.org&gt;; GRASS developers list &lt;grass-dev@lists.osgeo.org&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Wednesday, 25 May 2011, 12:48<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [GRASS-user] LiDAR LAS import<br></font><br>On Wed, May 25, 2011 at 12:16 PM, Hamish &lt;<a ymailto="mailto:hamish_b@yahoo.com" href="mailto:hamish_b@yahoo.com">hamish_b@yahoo.com</a>&gt; wrote:<br>&gt; Markus Metz wrote:<br>&gt;&gt; Hi all,<br>&gt;&gt;<br>&gt;&gt; GRASS 7 has a new module v.in.lidar for importing LiDAR LAS files<br>&gt;&gt; (*.las or *.laz). The LAS file format is commonly used for storing<br>&gt;&gt; LiDAR point clouds, but is
 unfortunately not supported by OGR.<br>&gt;&gt; v.in.lidar uses the libLAS library [0] and is only compiled if the<br>&gt;&gt; libLAS library is present.<br>&gt;&gt;<br>&gt;&gt; I chose to use the library instead of writing a custom LAS reading<br>&gt;&gt; interface because the current LAS library version 1.6.1 is stable,<br>&gt;&gt; supports LAS file versions 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, each of<br>&gt;&gt; which can store LiDAR points in up to 5 different point formats. The<br>&gt;&gt; user and the interface do not need to know the file version and point<br>&gt;&gt; format of a given file, all that is conveniently handled by the libLAS<br>&gt;&gt; library in the background. The library has Large File Support (LFS)<br>&gt;&gt; and is well tested on different platforms, also with different<br>&gt;&gt; endian-ness. This functionality is not that easy to replicate.<br>&gt;&gt;<br>&gt;&gt; You will need to get the libLAS library and configure GRASS 7
 with<br>&gt;&gt; --with-liblas in order to have the module available. Please test!<br>&gt;&gt;<br>&gt;&gt; Markus M<br>&gt;&gt;<br>&gt;&gt; [0] <a href="http://www.liblas.org" target="_blank">http://www.liblas.org</a><br>&gt;<br>&gt;<br>&gt; neat! any time trials to say how much faster it is than piping<br>&gt; &nbsp;las2txt | v.in.ascii<br>&gt; ?<br><br>Note that las2txt does NOT apply scale and offset to x,y,z, this would<br>need to be done afterwards in order to obtain correct coordinates.<br>Therefore the output of las2txt | v.in.ascii with the sample las file<br>I used is incorrect.<br><br>I discovered a bug in v.in.ascii: from a point file with | as field<br>separator like<br><br>1|2|3||5|6<br><br>only the first 3 columns will be imported because column 4 is empty<br>which means that columns 5 and 6 are skipped.<br><br>v.in.lidar is a notch faster than las2txt | v.in.ascii. And easier to use...<br>Speed comparisons:<br><br># sample las file with
 1,287,775 points<br><br># with table and topology<br>time las2txt -i points.las --stdout --parse xyztinrcCpedRGBau<br>--delimiter "|" | v.in.ascii in=- out=points_ascii -z x=1 y=2 z=3 --o<br><br>real&nbsp;&nbsp;&nbsp; 6m34.430s<br>user&nbsp;&nbsp;&nbsp; 4m57.530s<br>sys&nbsp;&nbsp;&nbsp; 2m3.693s<br><br>time v.in.lidar in=points.las out=points_las -o --o<br><br>real&nbsp;&nbsp;&nbsp; 6m13.823s<br>user&nbsp;&nbsp;&nbsp; 4m32.061s<br>sys&nbsp;&nbsp;&nbsp; 2m1.068s<br><br><br># without table, with topology<br>time las2txt -i points.las --stdout --parse xyz --delimiter "|" |<br>v.in.ascii in=- out=points_ascii -zt x=1 y=2 z=3 --o<br><br>real&nbsp;&nbsp;&nbsp; 1m53.578s<br>user&nbsp;&nbsp;&nbsp; 1m47.032s<br>sys&nbsp;&nbsp;&nbsp; 0m9.238s<br><br>time v.in.lidar in=points.las out=points_las -ot --o<br><br>real&nbsp;&nbsp;&nbsp; 1m44.876s<br>user&nbsp;&nbsp;&nbsp; 1m34.450s<br>sys&nbsp;&nbsp;&nbsp;
 0m8.488s<br>_______________________________________________<br>grass-user mailing list<br><a ymailto="mailto:grass-user@lists.osgeo.org" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br><br><br></div></div></blockquote></div></div></body></html>