<html><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:10pt"><div><span>Hi there,</span></div><div><br><span></span></div><div><span>Bit late in the game to this discussion but the tool I use for all my lidar point processing (on Windows and linux) is http://www.cs.unc.edu/~isenburg/lastools/</span></div><div><br><span></span></div><div><span>I've found it's very powerful and user friendly (but still "tunable" to your preferences) and the users list is also really good...</span></div><div><br><span></span></div><div><span>Happy processing!</span></div><div><br><span></span></div><div><span>Rebecca</span></div><div><span><br></span></div><div><span>Dr Rebecca Bennett</span></div><div>Researcher (Archaeology Group)<br>School of Applied Sciences, Bournemouth University<br><span></span></div><div><span></span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px;
 margin-top: 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;"> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Daniel Victoria &lt;daniel.victoria@gmail.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> Werner Macho &lt;werner.macho@gmail.com&gt; <br><b><span style="font-weight: bold;">Cc:</span></b> grass-user@lists.osgeo.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, 30 March 2012, 21:33<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [GRASS-user] Lidar points height from ground<br> </font> </div> <br>Thanks everyone for the help and tips.<br><br>I ended up using a tool called Lidar Fusion, from the forestry people<br>at USDA, USFS and university of washington.<br><a
 href="http://forsys.cfr.washington.edu/" target="_blank">http://forsys.cfr.washington.edu/</a><br><br>It works pretty fast and does exactly what I needed. But only found<br>executables for windows...<br><br>Cheers<br>Daniel<br><br>On Fri, Mar 30, 2012 at 12:22 PM, Daniel Victoria<br>&lt;<a ymailto="mailto:daniel.victoria@gmail.com" href="mailto:daniel.victoria@gmail.com">daniel.victoria@gmail.com</a>&gt; wrote:<br>&gt; Werner,<br>&gt;<br>&gt; Laslib and specially lasheight looks like what I want. However, I<br>&gt; already have the ground raster interpolated by the people that<br>&gt; provided the las data so I'll have to check if I can ignore their<br>&gt; ground raster and use the one generated by laslib. But many thanks for<br>&gt; the help, I'll certainly study that option more.<br>&gt;<br>&gt; Michael,<br>&gt;<br>&gt; I liked your python suggestion. Will give it a try. I'll just have to<br>&gt; study your script a little more in order to figure out
 if it's<br>&gt; considering the case where there are more &nbsp;than 1 point per ground<br>&gt; cell.<br>&gt;<br>&gt; My ground raster has 1m resolution but my point density is at least 4<br>&gt; points per meter...<br>&gt;<br>&gt; Cheers to all<br>&gt; Daniel<br>&gt;<br>&gt; On Fri, Mar 30, 2012 at 11:52 AM, Werner Macho &lt;<a ymailto="mailto:werner.macho@gmail.com" href="mailto:werner.macho@gmail.com">werner.macho@gmail.com</a>&gt; wrote:<br>&gt;&gt; Hi!<br>&gt;&gt; Don't know if i understood everything correctly. (Only ob mobile right now)<br>&gt;&gt; If it's not mandatory to use grass you can also use Laslib drom martin<br>&gt;&gt; isenburg. I am pretty sure that. it should do what you want pretty fast and<br>&gt;&gt; with huge amount of points..<br>&gt;&gt; I hope i got you right .. if not sorry f0r the noise<br>&gt;&gt;<br>&gt;&gt; Regards<br>&gt;&gt; Werner<br>&gt;&gt;<br>&gt;&gt; Am 30.03.2012 16:43 schrieb "michael vetter" &lt;<a
 ymailto="mailto:mv@ipf.tuwien.ac.at" href="mailto:mv@ipf.tuwien.ac.at">mv@ipf.tuwien.ac.at</a>&gt;:<br>&gt;&gt;<br>&gt;&gt;&gt; hey,<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; you can also calculate a normalized point cloud by subtract Z(from point)<br>&gt;&gt;&gt; from the DTM(Z)<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; you need a DTM (as raster) and the LiDAR points as ASCII<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; 1. "r.stats -gn in=DTM &gt;temp_elev"<br>&gt;&gt;&gt; 2. create a dictionary in python, from "temp_elev" k=x,y and value=z (x<br>&gt;&gt;&gt; and y should INT)<br>&gt;&gt;&gt; 3. loop the point cloud and subtract the z from k for each LiDAR point and<br>&gt;&gt;&gt; add a nZ column &gt;&gt; nDTM_LiDAR_points<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; 2 and 3 should run in the same script!<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; &nbsp;&nbsp;&nbsp; e.g. In Python:<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; #read input raster data (ascii from r.stats -gn DTM)<br>&gt;&gt;&gt; for lineR
 in iR.readlines():<br>&gt;&gt;&gt; &nbsp;&nbsp;&nbsp; valR = lineR.strip().split(' ')<br>&gt;&gt;&gt; &nbsp;&nbsp;&nbsp; x = float(valR[0])<br>&gt;&gt;&gt; &nbsp;&nbsp;&nbsp; y = float(valR[1])<br>&gt;&gt;&gt; &nbsp;&nbsp;&nbsp; k = ('%s %s' % (int(x),int(y)))<br>&gt;&gt;&gt; &nbsp;&nbsp;&nbsp; z = float(valR[2])<br>&gt;&gt;&gt; &nbsp;&nbsp;&nbsp; value.append(z)<br>&gt;&gt;&gt; &nbsp;&nbsp;&nbsp; D[k] = value<br>&gt;&gt;&gt; &nbsp;&nbsp;&nbsp; value = []<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; #read input point cloud as ascii and caclate nZ<br>&gt;&gt;&gt; for lineP in iP.readlines():<br>&gt;&gt;&gt; &nbsp;&nbsp;&nbsp; valP = lineP.strip().split(' ')<br>&gt;&gt;&gt; &nbsp;&nbsp;&nbsp; x = float(valP[0])<br>&gt;&gt;&gt; &nbsp;&nbsp;&nbsp; y = float(valP[1])<br>&gt;&gt;&gt; &nbsp;&nbsp;&nbsp; k = ('%s %s' % (int(x),int(y)))<br>&gt;&gt;&gt; &nbsp;&nbsp;&nbsp; Z = float(valP[2])<br>&gt;&gt;&gt; &nbsp;&nbsp;&nbsp; output.write('%s %s %s %s\n'
 %(x,y,Z,Z-D[k][0]))<br>&gt;&gt;&gt; oF.write(output.getvalue())<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; then you can 'awk' the data you are interested in 'cat nDTM_LiDAR_points |<br>&gt;&gt;&gt; awk '{if($4 &lt; 2 &amp;&amp; $4 &gt; 1) print $0}' &gt;LiDAR_1_to_2<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; r.in.xyz LiDAR_1_to_2 out=LiDAR_1_to_2 method=n<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; you can see the related reference to a similar workflow:<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; <a href="http://www.isprs.org/proceedings/XXXVIII/5-W12/Papers/ls2011_submission_35.pdf" target="_blank">http://www.isprs.org/proceedings/XXXVIII/5-W12/Papers/ls2011_submission_35.pdf</a><br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Michael<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Am 2012-03-30 14:52, schrieb Daniel Lee:<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Hi Daniel V ;)<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; You're right, that might not be the best way to go. I thought that it<br>&gt;&gt;&gt; might simply be faster to do a topological
 operation rather than a DB edit.<br>&gt;&gt;&gt; To be honest, I'd stay away from any 3D objects like volumes because it'd<br>&gt;&gt;&gt; just get pretty complicated if you use them... As far as I know ;) Could be<br>&gt;&gt;&gt; wrong. My suggestion would use the following steps:<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; 1. Make terrain raster<br>&gt;&gt;&gt; 2. Make surface raster<br>&gt;&gt;&gt; -- Here I'm assuming that for you basically have only two height "layers"<br>&gt;&gt;&gt; - i.e. no points that contain information between the surface raster and<br>&gt;&gt;&gt; terrain (like bushes beneath a tree cover).<br>&gt;&gt;&gt; 3. Make a relative digital surface model (rDSM) (r.mapcalc --&gt; rDSM =<br>&gt;&gt;&gt; surface - terrain)<br>&gt;&gt;&gt; 4. Reclassify the rDSM into the different classes you're interested in<br>&gt;&gt;&gt; 5. Convert the reclassified raster into an area vector file.<br>&gt;&gt;&gt; -- This makes a 2D map of polygons that cover
 the same areas as the raster<br>&gt;&gt;&gt; classes.<br>&gt;&gt;&gt; 6. Extract the points inside the different different height classes<br>&gt;&gt;&gt; (v.select)<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; However, if you're working with regularly spaced points that pass onto a<br>&gt;&gt;&gt; regular grid (=1 pt. / raster pixel) you could always use r.stats to tell<br>&gt;&gt;&gt; you how much area is in each raster category. Then you really wouldn't need<br>&gt;&gt;&gt; vectors at all.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Daniel L.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; --<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; B.Sc. Daniel Lee<br>&gt;&gt;&gt; Geschäftsführung für Forschung und Entwicklung<br>&gt;&gt;&gt; ISIS - International Solar Information Solutions GbR<br>&gt;&gt;&gt; Vertreten durch: Daniel Lee, Nepomuk Reinhard und Nils Räder<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Deutschhausstr. 10<br>&gt;&gt;&gt; 35037 Marburg<br>&gt;&gt;&gt; Festnetz:&nbsp;+49 6421 379
 6256<br>&gt;&gt;&gt; Mobil:&nbsp;+49 176 6127 7269<br>&gt;&gt;&gt; E-Mail:&nbsp;<a ymailto="mailto:Lee@isi-solutions.org" href="mailto:Lee@isi-solutions.org">Lee@isi-solutions.org</a><br>&gt;&gt;&gt; Web:&nbsp;<a href="http://www.isi-solutions.org" target="_blank">http://www.isi-solutions.org</a><br>&gt;&gt;&gt;<br>&gt;&gt;&gt; ISIS wird gefördert durch die Bundesrepublik Deutschland, Zuwendungsgeber:<br>&gt;&gt;&gt; Bundesministerium für Wirtschaft und Technologie aufgrund eines Beschlusses<br>&gt;&gt;&gt; des Deutschen Bundestages, sowie durch die Europäische Union,<br>&gt;&gt;&gt; Zuwendungsgeber: Europäischer Sozialfonds.<br>&gt;&gt;&gt; Zusätzliche Unterstützung erhält ISIS von dem Entrepreneurship Cluster<br>&gt;&gt;&gt; Mittelhessen, der Universität Marburg, dem Laboratory for Climatology and<br>&gt;&gt;&gt; Remote Sensing und dem GIS-Lab Marburg.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Am 30. März
 2012 14:09 schrieb Daniel Victoria<br>&gt;&gt;&gt; &lt;<a ymailto="mailto:daniel.victoria@gmail.com" href="mailto:daniel.victoria@gmail.com">daniel.victoria@gmail.com</a>&gt;:<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Hi Daniel Lee (two Daniels changing emails is a hard thing to follow...)<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; I can create the different height classes raster easily but I'm not<br>&gt;&gt;&gt;&gt; sure how to get the lidar points from the cloud that are in each<br>&gt;&gt;&gt;&gt; vertical slice.<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Maybe work with raster volumes? Is there a way to cross points at<br>&gt;&gt;&gt;&gt; different volumes?<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; The fact is, I'm not seeing how to do this without having to import<br>&gt;&gt;&gt;&gt; the lidar point cloud.<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Schematically, what I want to do is count the number of points that<br>&gt;&gt;&gt;&gt; are in the vertical bins
 1 2, (g is ground), a vertical slice...<br>&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; ___<br>&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; | . :<br>&gt;&gt;&gt;&gt; bin 2 &nbsp;| :<br>&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; | .<br>&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; -----<br>&gt;&gt;&gt;&gt; bin 1 &nbsp;| ...<br>&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; | .<br>&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;ggggg<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Cheers and many thanks for the attention<br>&gt;&gt;&gt;&gt; Daniel V<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; On Fri, Mar 30, 2012 at 8:08 AM, Daniel Lee &lt;<a ymailto="mailto:lee@isi-solutions.org" href="mailto:lee@isi-solutions.org">lee@isi-solutions.org</a>&gt;<br>&gt;&gt;&gt;&gt; wrote:<br>&gt;&gt;&gt;&gt; &gt; Hi Daniel,<br>&gt;&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt;&gt; &gt; You could try making different rasters with classes (0-5m over ground,<br>&gt;&gt;&gt;&gt; &gt;
 5-10m<br>&gt;&gt;&gt;&gt; &gt; over ground, etc.) and then convert them into polygons, then check how<br>&gt;&gt;&gt;&gt; &gt; many<br>&gt;&gt;&gt;&gt; &gt; points are inside them. I'm not sure if it'd be faster than the way you<br>&gt;&gt;&gt;&gt; &gt; suggested originally, though, when you think that you'd have to make<br>&gt;&gt;&gt;&gt; &gt; the<br>&gt;&gt;&gt;&gt; &gt; rasters first, etc.<br>&gt;&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt;&gt; &gt; I ended up giving up on large vector operations with LiDAR point clouds<br>&gt;&gt;&gt;&gt; &gt; in<br>&gt;&gt;&gt;&gt; &gt; GRASS 6.4 because it simply took way too long, but I was dealing with<br>&gt;&gt;&gt;&gt; &gt; millions of points. For such a small dataset it's probably fine, since<br>&gt;&gt;&gt;&gt; &gt; as<br>&gt;&gt;&gt;&gt; &gt; long as you know your script is okay you can let it run through your<br>&gt;&gt;&gt;&gt; &gt; lunch<br>&gt;&gt;&gt;&gt; &gt; break ;)<br>&gt;&gt;&gt;&gt;
 &gt;<br>&gt;&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt;&gt; &gt; Daniel<br>&gt;&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt;&gt; &gt; --<br>&gt;&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt;&gt; &gt; B.Sc. Daniel Lee<br>&gt;&gt;&gt;&gt; &gt; Geschäftsführung für Forschung und Entwicklung<br>&gt;&gt;&gt;&gt; &gt; ISIS - International Solar Information Solutions GbR<br>&gt;&gt;&gt;&gt; &gt; Vertreten durch: Daniel Lee, Nepomuk Reinhard und Nils Räder<br>&gt;&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt;&gt; &gt; Deutschhausstr. 10<br>&gt;&gt;&gt;&gt; &gt; 35037 Marburg<br>&gt;&gt;&gt;&gt; &gt; Festnetz:&nbsp;+49 6421 379 6256<br>&gt;&gt;&gt;&gt; &gt; Mobil:&nbsp;+49 176 6127 7269<br>&gt;&gt;&gt;&gt; &gt; E-Mail:&nbsp;<a ymailto="mailto:Lee@isi-solutions.org" href="mailto:Lee@isi-solutions.org">Lee@isi-solutions.org</a><br>&gt;&gt;&gt;&gt; &gt; Web:&nbsp;<a href="http://www.isi-solutions.org" target="_blank">http://www.isi-solutions.org</a><br>&gt;&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt;&gt; &gt; ISIS wird
 gefördert durch die Bundesrepublik Deutschland,<br>&gt;&gt;&gt;&gt; &gt; Zuwendungsgeber:<br>&gt;&gt;&gt;&gt; &gt; Bundesministerium für Wirtschaft und Technologie aufgrund eines<br>&gt;&gt;&gt;&gt; &gt; Beschlusses<br>&gt;&gt;&gt;&gt; &gt; des Deutschen Bundestages, sowie durch die Europäische Union,<br>&gt;&gt;&gt;&gt; &gt; Zuwendungsgeber: Europäischer Sozialfonds.<br>&gt;&gt;&gt;&gt; &gt; Zusätzliche Unterstützung erhält ISIS von dem Entrepreneurship Cluster<br>&gt;&gt;&gt;&gt; &gt; Mittelhessen, der Universität Marburg, dem Laboratory for Climatology<br>&gt;&gt;&gt;&gt; &gt; and<br>&gt;&gt;&gt;&gt; &gt; Remote Sensing und dem GIS-Lab Marburg.<br>&gt;&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt;&gt; &gt; Am 30. März 2012 13:00 schrieb Daniel Victoria<br>&gt;&gt;&gt;&gt; &gt; &lt;<a ymailto="mailto:daniel.victoria@gmail.com"
 href="mailto:daniel.victoria@gmail.com">daniel.victoria@gmail.com</a>&gt;:<br>&gt;&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; I need to calculate the number of points at different height levels.<br>&gt;&gt;&gt;&gt; &gt;&gt; That<br>&gt;&gt;&gt;&gt; &gt;&gt; is, how many points are from 0 to 5 meters? And from 5 to 10? And so<br>&gt;&gt;&gt;&gt; &gt;&gt; on. So<br>&gt;&gt;&gt;&gt; &gt;&gt; I believe I need to work with vector points and a database. Or is<br>&gt;&gt;&gt;&gt; &gt;&gt; there<br>&gt;&gt;&gt;&gt; &gt;&gt; another way?<br>&gt;&gt;&gt;&gt; &gt;&gt; Thanks<br>&gt;&gt;&gt;&gt; &gt;&gt; Daniel<br>&gt;&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; On Mar 30, 2012 6:47 AM, "Daniel Lee" &lt;<a ymailto="mailto:lee@isi-solutions.org" href="mailto:lee@isi-solutions.org">lee@isi-solutions.org</a>&gt; wrote:<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; Hi there,<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;
 I don't work too much with vectors, but my personal experience with<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; them<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; has been fairly slow, perhaps due to the topology. If you have access<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; to the<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; raw point cloud, you could try importing the ground and surface<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; points as<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; separate rasters using r.in.xyz and then use r.mapcalc to get the<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; height by<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; subtracting the ground from the surface raster. Or do you definitely<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; need<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; vector points as an output?<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; Best,<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; Daniel<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; --<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;
 &gt;&gt;&gt; B.Sc. Daniel Lee<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; Geschäftsführung für Forschung und Entwicklung<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; ISIS - International Solar Information Solutions GbR<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; Vertreten durch: Daniel Lee, Nepomuk Reinhard und Nils Räder<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; Deutschhausstr. 10<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; 35037 Marburg<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; Festnetz:&nbsp;+49 6421 379 6256<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; Mobil:&nbsp;+49 176 6127 7269<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; E-Mail:&nbsp;<a ymailto="mailto:Lee@isi-solutions.org" href="mailto:Lee@isi-solutions.org">Lee@isi-solutions.org</a><br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; Web:&nbsp;<a href="http://www.isi-solutions.org" target="_blank">http://www.isi-solutions.org</a><br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; ISIS wird gefördert durch die Bundesrepublik
 Deutschland,<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; Zuwendungsgeber: Bundesministerium für Wirtschaft und Technologie<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; aufgrund<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; eines Beschlusses des Deutschen Bundestages, sowie durch die<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; Europäische<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; Union, Zuwendungsgeber: Europäischer Sozialfonds.<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; Zusätzliche Unterstützung erhält ISIS von dem Entrepreneurship<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; Cluster<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; Mittelhessen, der Universität Marburg, dem Laboratory for Climatology<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; and<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; Remote Sensing und dem GIS-Lab Marburg.<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt; Am 29. März 2012 22:59 schrieb Daniel Victoria<br>&gt;&gt;&gt;&gt;
 &gt;&gt;&gt; &lt;<a ymailto="mailto:daniel.victoria@gmail.com" href="mailto:daniel.victoria@gmail.com">daniel.victoria@gmail.com</a>&gt;:<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; Hi all,<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; I'm trying to calculate the height from the ground of several lidar<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; points (15million) in order to get the number of points that occur<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; at<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; different height levels. I read some older posts about using<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; r.in.xyz<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; (or r.in.lidar in grass 7) but I could not understand how to count<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; the<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; number or points that have height from 0 to 5 m above the ground,<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; for<br>&gt;&gt;&gt;&gt;
 &gt;&gt;&gt;&gt; instance. So, I'm trying to do the following.<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; 1) import points using v.in.lidar (Grass 7 ubuntu linux)<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; 2) create a column in the database for the ground height and one for<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; elevation<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; 3) populate height column from ground raster (generate in another<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; process) using v.what.rast<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; 4) calculate elevation as zcoord - ground for each point<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; (v.db.update)<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; As you might imagine, this takes a long time. Just to import a 400Mb<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; lidar file takes around 50min.<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; Is there any easier way that I'm not
 envisioning?<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; I'm running Grass 7 with liblas on a Ubuntu Virtual Machine and<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; sqlite<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; backend.<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; Thanks<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; Daniel<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; grass-user mailing list<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; <a ymailto="mailto:grass-user@lists.osgeo.org" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; <a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;
 &gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt; grass-user mailing list<br>&gt;&gt;&gt; <a ymailto="mailto:grass-user@lists.osgeo.org" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>&gt;&gt;&gt; <a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; --<br>&gt;&gt;&gt; Mag. Michael Vetter<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Institute of Photogrammetry and Remote Sensing (I.P.F.)<br>&gt;&gt;&gt; Vienna University of Technology (TU Wien)<br>&gt;&gt;&gt; Gusshausstrasse 27-29, 1040 Vienna, Austria<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Centre for Water Resource Systems (CWRS)<br>&gt;&gt;&gt; Vienna University of Technology (TU Wien)<br>&gt;&gt;&gt; Karlsplatz 13/222, A-1040 Vienna,
 Austria<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Tel: +43-(0)1-58801-22226<br>&gt;&gt;&gt; E-mail: <a ymailto="mailto:mv@ipf.tuwien.ac.at" href="mailto:mv@ipf.tuwien.ac.at">mv@ipf.tuwien.ac.at</a><br>&gt;&gt;&gt; www.ipf.tuwien.ac.at<br>&gt;&gt;&gt; www.waterresources.at<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt; grass-user mailing list<br>&gt;&gt;&gt; <a ymailto="mailto:grass-user@lists.osgeo.org" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>&gt;&gt;&gt; <a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>&gt;&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; grass-user mailing list<br>&gt;&gt; <a ymailto="mailto:grass-user@lists.osgeo.org"
 href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>&gt;&gt; <a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>&gt;&gt;<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>