<?xml version="1.0" encoding="UTF-8" standalone="yes"?><oembed><version><![CDATA[1.0]]></version><provider_name><![CDATA[rapidlasso GmbH]]></provider_name><provider_url><![CDATA[http://rapidlasso.com]]></provider_url><author_name><![CDATA[martin isenburg]]></author_name><author_url><![CDATA[https://rapidlasso.com/author/downtownfarm/]]></author_url><title><![CDATA[New Step-by-Step Tutorial for Velodyne Drone LiDAR from Snoopy by&nbsp;LidarUSA]]></title><type><![CDATA[link]]></type><html><![CDATA[<p>The folks from <a href="http://harrisaerial.com">Harris Aerial</a> gave us LiDAR data from a test-flight of one of their drones, the <a href="http://www.harrisaerial.com/carrier-h4-hybrid-drone/">Carrier H4 Hybrid HE</a> (with a 5kg maximum payload and a retail price of US$ 28,000), carrying a <a href="https://www.lidarusa.com/snoopy-a-series.html">Snoopy A series</a> LiDAR system from <a href="https://www.lidarusa.com/">LidarUSA</a> in the countryside near Huntsville, Alabama. The laser scanner used by the <a href="https://www.lidarusa.com/snoopy-a-series.html">Snoopy A </a><a href="https://www.lidarusa.com/snoopy-a-series.html">series</a> is a <a href="http://velodynelidar.com/hdl-32e.html">Velodyne HDL 32E</a> that has 32 different laser/detector pairs that fire in succession to scan up to 700,000 points per second within a range of 1 to 70 meters. You can <a href="https://mega.nz/#!aVlzHCBR!qiBJ2W1E1YRhtEPJzlonOWND1kb8gyL2nCTLD1zv8Wk">download</a> the raw LiDAR file from the <a href="https://mega.nz/#!aVlzHCBR!qiBJ2W1E1YRhtEPJzlonOWND1kb8gyL2nCTLD1zv8Wk">80 second test flight</a> <a href="https://mega.nz/#!aVlzHCBR!qiBJ2W1E1YRhtEPJzlonOWND1kb8gyL2nCTLD1zv8Wk">here</a>. As always, the first thing we do is to visualize the file with <a href="http://rapidlasso.com/lasview">lasview</a> and to generate a textual report of its contents with <a href="http://rapidlasso.com/lasinfo">lasinfo</a>.</p>
<pre>lasview -i Velodyne001.laz -set_min_max 680 750</pre>
<p>It becomes obvious that the drone must have scanned parts of itself (probably the landing gear) during the flight and we exploit this fact in the later processing. The information which of the 32 lasers was collecting which point is stored into the &#8216;point source ID&#8217; field which is usually used for the flightline information. This results in a psychedelic look in <a href="http://rapidlasso.com/lasview">lasview</a> as those 32 different numbers get mapped to the 8 different colors that <a href="http://rapidlasso.com/lasview">lasview</a> uses for distinguishing flightlines.</p>
<div class="tiled-gallery type-rectangular tiled-gallery-unresized" data-original-width="500" data-carousel-extra='{&quot;blog_id&quot;:41123003,&quot;permalink&quot;:&quot;https:\/\/rapidlasso.com\/2018\/05\/01\/new-step-by-step-tutorial-for-velodyne-drone-lidar-from-snoopy-by-lidarusa\/&quot;,&quot;likes_blog_id&quot;:41123003}' itemscope itemtype="http://schema.org/ImageGallery" > <div class="gallery-row" style="width: 500px; height: 260px;" data-original-width="500" data-original-height="260" > <div class="gallery-group images-1" style="width: 334px; height: 260px;" data-original-width="334" data-original-height="260" > <div class="tiled-gallery-item tiled-gallery-item-large" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject"> <a href="https://rapidlasso.com/2018/05/01/new-step-by-step-tutorial-for-velodyne-drone-lidar-from-snoopy-by-lidarusa/harrislidar_lasview_first_look_elevation_680_750/" border="0" itemprop="url"> <meta itemprop="width" content="330"> <meta itemprop="height" content="256"> <img data-attachment-id="2836" data-orig-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_first_look_elevation_680_750.jpg" data-orig-size="1040,807" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="harrislidar_lasview_first_look_elevation_680_750" data-image-description="" data-medium-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_first_look_elevation_680_750.jpg?w=300" data-large-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_first_look_elevation_680_750.jpg?w=1024" src="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_first_look_elevation_680_750.jpg?w=330&#038;h=256" width="330" height="256" data-original-width="330" data-original-height="256" itemprop="http://schema.org/image" title="harrislidar_lasview_first_look_elevation_680_750" alt="In the point cloud colored by elevation we see that the drone must have scanned itself during flight." style="width: 330px; height: 256px;" /> </a> <div class="tiled-gallery-caption" itemprop="caption description"> In the point cloud colored by elevation we see that the drone must have scanned itself during flight. </div> </div> </div> <!-- close group --> <div class="gallery-group images-2" style="width: 166px; height: 260px;" data-original-width="166" data-original-height="260" > <div class="tiled-gallery-item tiled-gallery-item-small" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject"> <a href="https://rapidlasso.com/2018/05/01/new-step-by-step-tutorial-for-velodyne-drone-lidar-from-snoopy-by-lidarusa/harrislidar_lasview_first_look_intensity/" border="0" itemprop="url"> <meta itemprop="width" content="162"> <meta itemprop="height" content="126"> <img data-attachment-id="2835" data-orig-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_first_look_intensity.jpg" data-orig-size="1040,807" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="harrislidar_lasview_first_look_intensity" data-image-description="" data-medium-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_first_look_intensity.jpg?w=300" data-large-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_first_look_intensity.jpg?w=1024" src="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_first_look_intensity.jpg?w=162&#038;h=126" width="162" height="126" data-original-width="162" data-original-height="126" itemprop="http://schema.org/image" title="harrislidar_lasview_first_look_intensity" alt="The point cloud colored by intensity gives a clearer picture of what is on the ground." style="width: 162px; height: 126px;" /> </a> <div class="tiled-gallery-caption" itemprop="caption description"> The point cloud colored by intensity gives a clearer picture of what is on the ground. </div> </div> <div class="tiled-gallery-item tiled-gallery-item-small" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject"> <a href="https://rapidlasso.com/2018/05/01/new-step-by-step-tutorial-for-velodyne-drone-lidar-from-snoopy-by-lidarusa/harrislidar_lasview_first_look_point_source_id/" border="0" itemprop="url"> <meta itemprop="width" content="162"> <meta itemprop="height" content="126"> <img data-attachment-id="2834" data-orig-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_first_look_point_source_id.jpg" data-orig-size="1040,807" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="harrislidar_lasview_first_look_point_source_ID" data-image-description="" data-medium-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_first_look_point_source_id.jpg?w=300" data-large-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_first_look_point_source_id.jpg?w=1024" src="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_first_look_point_source_id.jpg?w=162&#038;h=126" width="162" height="126" data-original-width="162" data-original-height="126" itemprop="http://schema.org/image" title="harrislidar_lasview_first_look_point_source_ID" alt="The point cloud colored by point source ID looks psychedelic." style="width: 162px; height: 126px;" /> </a> <div class="tiled-gallery-caption" itemprop="caption description"> The point cloud colored by point source ID looks psychedelic. </div> </div> </div> <!-- close group --> </div> <!-- close row --> </div>
<p>The <a href="https://mega.nz/#!OUd2CTxJ!VsqRxUpODzLUCAHo_vngMkrmrgEdHYnT1cDLBTVLW_4">lasinfo report</a> we generate computes the average point density with &#8216;-cd&#8217; and includes histograms for a number of point attributes, namely for &#8216;user data&#8217;, &#8216;intensity&#8217;, &#8216;point source ID&#8217;, &#8216;GPS time&#8217;, and &#8216;scan angle rank&#8217;.</p>
<pre>lasinfo -i Velodyne001.laz ^
        -cd ^
        -histo user_data 1 ^
        -histo point_source 1 ^
        -histo intensity 16 ^
        -histo gps_time 1 ^
        -histo scan_angle_rank 5 ^
        -odir quality -odix _info -otxt</pre>
<p>You can download the resulting<a href="https://mega.nz/#!OUd2CTxJ!VsqRxUpODzLUCAHo_vngMkrmrgEdHYnT1cDLBTVLW_4"> report here</a> and it will tell you that the information which of the 32 lasers was collecting which point was stored both into the &#8216;user data&#8217; field and into the &#8216;point source ID&#8217; field. The warnings you see below have to do with the fact that the double-precision bounding box stored in the LAS header was populated with numbers that have many more decimal digits than the coordinates in the file, which only have millimeter (or millifeet) resolution as all three scale factors are 0.001 (meaning three decimal digits).</p>
<pre>WARNING: stored resolution of min_x not compatible with x_offset and x_scale_factor: 2171988.6475160527
WARNING: stored resolution of min_y not compatible with y_offset and y_scale_factor: 1622812.606925504
WARNING: stored resolution of min_z not compatible with z_offset and z_scale_factor: 666.63504345017589
WARNING: stored resolution of max_x not compatible with x_offset and x_scale_factor: 2172938.973065129
WARNING: stored resolution of max_y not compatible with y_offset and y_scale_factor: 1623607.5209975131
WARNING: stored resolution of max_z not compatible with z_offset and z_scale_factor: 1053.092674726669</pre>
<p>Both the &#8220;return number&#8221; and the &#8220;number of returns&#8221; attribute of every points in the file is 2. This makes it appear as if the file would <span style="font-family:Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:16px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:300;">only</span><span style="font-family:Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:16px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:300;"> </span>contain the last returns of those laser shots that produced two returns. However, as the Velodyne HDL 32E only produces one return per shot we can safely conclude that those numbers should all be 1 instead of 2 and that this is just a small bug in the export software. We can easily fix this with <a href="http://rapidlasso.com/las2las">las2las</a>.</p>
<pre>reporting minimum and maximum for all LAS point record entries ...
[...]
 return_number 2 2
 number_of_returns 2 2
[...]</pre>
<p>The <a href="https://mega.nz/#!OUd2CTxJ!VsqRxUpODzLUCAHo_vngMkrmrgEdHYnT1cDLBTVLW_4">lasinfo report</a> lacks information about the coordinate reference system as there is no VLR that stores projection information. Harris Aerial could not help us other than telling us that the scan was near Huntsville, Alamaba. Measuring certain distances in the scene like the height of the house or the tree suggests that both horizontal and vertical units are in feet, or rather in US survey feet. After some experimenting we find that using <a href="http://www.spatialreference.org/ref/epsg/nad83-alabama-west/">EPSG 26930</a> for <a href="http://www.spatialreference.org/ref/epsg/nad83-alabama-west/">NAD83 Alabama West</a> but forcing the default horizontal units from meters to US survey feet gives a result that aligns well with high-resolution Google Earth imagery as you can see below:</p>
<pre>lasgrid -i flightline1.laz ^
        -i flightline2.laz ^
        -merged ^
        -epsg 26930 -survey_feet ^
        -step 1 -highest ^
        -false -set_min_max 680 750 ^
        -o testing26930usft.png</pre>
<div data-shortcode="caption" id="attachment_2843" style="width: 1034px" class="wp-caption aligncenter"><a href="http://rapidlasso.com/2018/05/01/new-step-by-step-tutorial-for-velodyne-drone-lidar-with-snoopy-from-lidarusa/harrisaerial_ge_crs_check/#main" rel="attachment wp-att-2843"><img loading="lazy" aria-describedby="caption-attachment-2843" data-attachment-id="2843" data-permalink="https://rapidlasso.com/2018/05/01/new-step-by-step-tutorial-for-velodyne-drone-lidar-from-snoopy-by-lidarusa/harrisaerial_ge_crs_check/" data-orig-file="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_ge_crs_check.jpg" data-orig-size="1024,768" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="harrisaerial_ge_crs_check" data-image-description="" data-medium-file="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_ge_crs_check.jpg?w=300" data-large-file="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_ge_crs_check.jpg?w=1024" class="size-full wp-image-2843" src="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_ge_crs_check.jpg?w=1024&#038;h=768" alt="" width="1024" height="768" srcset="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_ge_crs_check.jpg 1024w, https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_ge_crs_check.jpg?w=150&amp;h=113 150w, https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_ge_crs_check.jpg?w=300&amp;h=225 300w, https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_ge_crs_check.jpg?w=768&amp;h=576 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><p id="caption-attachment-2843" class="wp-caption-text">Using EPSG code 26930 but with US survey feet instead of meters results in nice alignment with GE imagery.</p></div>
<p>We use the fact that the drone has scanned itself to extract an (approximate) trajectory by isolating those LiDAR returns that have hit the drone. Via a visual check with <a href="http://rapidlasso.com/lasview">lasview</a> (by hovering with the cursor over the lowest drone hits and pressing hotkey &#8216;i&#8217;) we determine that the lowest drone hits are all above 719 feet. We use two calls to <a href="http://rapidlasso.com/las2las">las2las</a> to split the point cloud vertically. In the same call we also change the resolution from three to two decimal digits, fix the return number issue, and add the missing geo-referencing information:</p>
<pre>las2las -i Velodyne001.laz ^
        -rescale 0.01 0.01 0.01 ^
        -epsg 26930 -survey_feet -elevation_survey_feet ^
        -set_return_number 1 ^
        -set_number_of_returns 1 ^
        -keep_z_above 719 ^
        -odix _above719 -olaz

las2las -i Velodyne001.laz ^
        -rescale 0.01 0.01 0.01 ^
        -epsg 26930 -survey_feet -elevation_survey_feet ^
        -set_return_number 1 ^
        -set_number_of_returns 1 ^
        -keep_z_below 719 ^
        -odix _below719 -olaz</pre>
<p>We then use the <a href="https://rapidlasso.com/2014/03/02/tutorial-manual-lidar-editing/">manual editing capabilities of lasview</a> to change the classifications of the LiDAR points that correspond to drone hits from 1 to 12, which is illustrated by the series of screen shots below.</p>
<pre>lasview -i Velodyne001_above719.laz</pre>
<div class="tiled-gallery type-rectangular tiled-gallery-unresized" data-original-width="500" data-carousel-extra='{&quot;blog_id&quot;:41123003,&quot;permalink&quot;:&quot;https:\/\/rapidlasso.com\/2018\/05\/01\/new-step-by-step-tutorial-for-velodyne-drone-lidar-from-snoopy-by-lidarusa\/&quot;,&quot;likes_blog_id&quot;:41123003}' itemscope itemtype="http://schema.org/ImageGallery" > <div class="gallery-row" style="width: 500px; height: 260px;" data-original-width="500" data-original-height="260" > <div class="gallery-group images-1" style="width: 334px; height: 260px;" data-original-width="334" data-original-height="260" > <div class="tiled-gallery-item tiled-gallery-item-large" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject"> <a href="https://rapidlasso.com/2018/05/01/new-step-by-step-tutorial-for-velodyne-drone-lidar-from-snoopy-by-lidarusa/harrislidar_lasview_manual_edit_00/" border="0" itemprop="url"> <meta itemprop="width" content="330"> <meta itemprop="height" content="256"> <img data-attachment-id="2827" data-orig-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_manual_edit_00.jpg" data-orig-size="1040,807" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="harrislidar_lasview_manual_edit_00" data-image-description="" data-medium-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_manual_edit_00.jpg?w=300" data-large-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_manual_edit_00.jpg?w=1024" src="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_manual_edit_00.jpg?w=330&#038;h=256" width="330" height="256" data-original-width="330" data-original-height="256" itemprop="http://schema.org/image" title="harrislidar_lasview_manual_edit_00" alt="Right in lasview clicking opens a pop-up menu with an option to edit classifications." style="width: 330px; height: 256px;" /> </a> <div class="tiled-gallery-caption" itemprop="caption description"> Right in lasview clicking opens a pop-up menu with an option to edit classifications. </div> </div> </div> <!-- close group --> <div class="gallery-group images-2" style="width: 166px; height: 260px;" data-original-width="166" data-original-height="260" > <div class="tiled-gallery-item tiled-gallery-item-small" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject"> <a href="https://rapidlasso.com/2018/05/01/new-step-by-step-tutorial-for-velodyne-drone-lidar-from-snoopy-by-lidarusa/harrislidar_lasview_manual_edit_01/" border="0" itemprop="url"> <meta itemprop="width" content="162"> <meta itemprop="height" content="126"> <img data-attachment-id="2833" data-orig-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_manual_edit_01.jpg" data-orig-size="1040,807" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="harrislidar_lasview_manual_edit_01" data-image-description="" data-medium-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_manual_edit_01.jpg?w=300" data-large-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_manual_edit_01.jpg?w=1024" src="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_manual_edit_01.jpg?w=162&#038;h=126" width="162" height="126" data-original-width="162" data-original-height="126" itemprop="http://schema.org/image" title="harrislidar_lasview_manual_edit_01" alt="We draw a polygon around the points that are from the drone hitting itself." style="width: 162px; height: 126px;" /> </a> <div class="tiled-gallery-caption" itemprop="caption description"> We draw a polygon around the points that are from the drone hitting itself. </div> </div> <div class="tiled-gallery-item tiled-gallery-item-small" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject"> <a href="https://rapidlasso.com/2018/05/01/new-step-by-step-tutorial-for-velodyne-drone-lidar-from-snoopy-by-lidarusa/harrislidar_lasview_manual_edit_02/" border="0" itemprop="url"> <meta itemprop="width" content="162"> <meta itemprop="height" content="126"> <img data-attachment-id="2826" data-orig-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_manual_edit_02.jpg" data-orig-size="1040,807" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="harrislidar_lasview_manual_edit_02" data-image-description="" data-medium-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_manual_edit_02.jpg?w=300" data-large-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_manual_edit_02.jpg?w=1024" src="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_manual_edit_02.jpg?w=162&#038;h=126" width="162" height="126" data-original-width="162" data-original-height="126" itemprop="http://schema.org/image" title="harrislidar_lasview_manual_edit_02" alt="By pressing the hotkey &#039;r&#039; we register the changes." style="width: 162px; height: 126px;" /> </a> <div class="tiled-gallery-caption" itemprop="caption description"> By pressing the hotkey &#8216;r&#8217; we register the changes. </div> </div> </div> <!-- close group --> </div> <!-- close row --> <div class="gallery-row" style="width: 500px; height: 130px;" data-original-width="500" data-original-height="130" > <div class="gallery-group images-1" style="width: 167px; height: 130px;" data-original-width="167" data-original-height="130" > <div class="tiled-gallery-item tiled-gallery-item-small" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject"> <a href="https://rapidlasso.com/2018/05/01/new-step-by-step-tutorial-for-velodyne-drone-lidar-from-snoopy-by-lidarusa/harrislidar_lasview_manual_edit_04/" border="0" itemprop="url"> <meta itemprop="width" content="163"> <meta itemprop="height" content="126"> <img data-attachment-id="2831" data-orig-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_manual_edit_04.jpg" data-orig-size="1040,807" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="harrislidar_lasview_manual_edit_04" data-image-description="" data-medium-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_manual_edit_04.jpg?w=300" data-large-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_manual_edit_04.jpg?w=1024" src="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_manual_edit_04.jpg?w=163&#038;h=126" width="163" height="126" data-original-width="163" data-original-height="126" itemprop="http://schema.org/image" title="harrislidar_lasview_manual_edit_04" alt="Maybe a few too many points were classified as 12 so we put them back into classification 1." style="width: 163px; height: 126px;" /> </a> <div class="tiled-gallery-caption" itemprop="caption description"> Maybe a few too many points were classified as 12 so we put them back into classification 1. </div> </div> </div> <!-- close group --> <div class="gallery-group images-1" style="width: 167px; height: 130px;" data-original-width="167" data-original-height="130" > <div class="tiled-gallery-item tiled-gallery-item-small" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject"> <a href="https://rapidlasso.com/2018/05/01/new-step-by-step-tutorial-for-velodyne-drone-lidar-from-snoopy-by-lidarusa/harrislidar_lasview_manual_edit_05/" border="0" itemprop="url"> <meta itemprop="width" content="163"> <meta itemprop="height" content="126"> <img data-attachment-id="2830" data-orig-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_manual_edit_05.jpg" data-orig-size="1040,807" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="harrislidar_lasview_manual_edit_05" data-image-description="" data-medium-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_manual_edit_05.jpg?w=300" data-large-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_manual_edit_05.jpg?w=1024" src="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_manual_edit_05.jpg?w=163&#038;h=126" width="163" height="126" data-original-width="163" data-original-height="126" itemprop="http://schema.org/image" title="harrislidar_lasview_manual_edit_05" alt="We draw another polygon." style="width: 163px; height: 126px;" /> </a> <div class="tiled-gallery-caption" itemprop="caption description"> We draw another polygon. </div> </div> </div> <!-- close group --> <div class="gallery-group images-1" style="width: 166px; height: 130px;" data-original-width="166" data-original-height="130" > <div class="tiled-gallery-item tiled-gallery-item-small" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject"> <a href="https://rapidlasso.com/2018/05/01/new-step-by-step-tutorial-for-velodyne-drone-lidar-from-snoopy-by-lidarusa/harrislidar_lasview_manual_edit_06/" border="0" itemprop="url"> <meta itemprop="width" content="162"> <meta itemprop="height" content="126"> <img data-attachment-id="2829" data-orig-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_manual_edit_06.jpg" data-orig-size="1040,807" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="harrislidar_lasview_manual_edit_06" data-image-description="" data-medium-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_manual_edit_06.jpg?w=300" data-large-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_manual_edit_06.jpg?w=1024" src="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_manual_edit_06.jpg?w=162&#038;h=126" width="162" height="126" data-original-width="162" data-original-height="126" itemprop="http://schema.org/image" title="harrislidar_lasview_manual_edit_06" alt="And press the hotkey &#039;r&#039; again to register the changes." style="width: 162px; height: 126px;" /> </a> <div class="tiled-gallery-caption" itemprop="caption description"> And press the hotkey &#8216;r&#8217; again to register the changes. </div> </div> </div> <!-- close group --> </div> <!-- close row --> <div class="gallery-row" style="width: 500px; height: 195px;" data-original-width="500" data-original-height="195" > <div class="gallery-group images-1" style="width: 250px; height: 195px;" data-original-width="250" data-original-height="195" > <div class="tiled-gallery-item tiled-gallery-item-small" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject"> <a href="https://rapidlasso.com/2018/05/01/new-step-by-step-tutorial-for-velodyne-drone-lidar-from-snoopy-by-lidarusa/harrislidar_lasview_manual_edit_03/" border="0" itemprop="url"> <meta itemprop="width" content="246"> <meta itemprop="height" content="191"> <img data-attachment-id="2832" data-orig-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_manual_edit_03.jpg" data-orig-size="1040,807" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="harrislidar_lasview_manual_edit_03`" data-image-description="" data-medium-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_manual_edit_03.jpg?w=300" data-large-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_manual_edit_03.jpg?w=1024" src="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_manual_edit_03.jpg?w=246&#038;h=191" width="246" height="191" data-original-width="246" data-original-height="191" itemprop="http://schema.org/image" title="harrislidar_lasview_manual_edit_03`" alt="Here are two more points that need to go back to classification 1." style="width: 246px; height: 191px;" /> </a> <div class="tiled-gallery-caption" itemprop="caption description"> Here are two more points that need to go back to classification 1. </div> </div> </div> <!-- close group --> <div class="gallery-group images-1" style="width: 250px; height: 195px;" data-original-width="250" data-original-height="195" > <div class="tiled-gallery-item tiled-gallery-item-small" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject"> <a href="https://rapidlasso.com/2018/05/01/new-step-by-step-tutorial-for-velodyne-drone-lidar-from-snoopy-by-lidarusa/harrislidar_lasview_manual_edit_07/" border="0" itemprop="url"> <meta itemprop="width" content="246"> <meta itemprop="height" content="191"> <img data-attachment-id="2828" data-orig-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_manual_edit_07.jpg" data-orig-size="1040,807" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="harrislidar_lasview_manual_edit_07" data-image-description="" data-medium-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_manual_edit_07.jpg?w=300" data-large-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_manual_edit_07.jpg?w=1024" src="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_manual_edit_07.jpg?w=246&#038;h=191" width="246" height="191" data-original-width="246" data-original-height="191" itemprop="http://schema.org/image" title="harrislidar_lasview_manual_edit_07" alt="Once we are satisfied we hold the CRTL button down and press hotkey &#039;s&#039; to save the changes as a LASlayers LAY file." style="width: 246px; height: 191px;" /> </a> <div class="tiled-gallery-caption" itemprop="caption description"> Once we are satisfied we hold the CRTL button down and press hotkey &#8216;s&#8217; to save the changes as a LASlayers LAY file. </div> </div> </div> <!-- close group --> </div> <!-- close row --> </div>
<p>The workflow illustrated above results in a tiny LAY file that is part of the <a href="http://rapidlasso.com/LASlayers">LASlayers</a> functionality of LAStools. It only encodes the few changes in classifications that we&#8217;ve made to the LAZ file without re-writing those parts that have not changed. Those interested may use <a href="http://rapidlasso.com/laslayers">laslayers</a> to inspect the structure of the LAY file:</p>
<pre>laslayers -i Velodyne001_above719.laz</pre>
<p>We can apply the LAY file on-the-fly with the &#8216;-ilay&#8217; option, for example, when running <a href="http://rapidlasso.com/lasview">lasview</a>:</p>
<pre>lasview -i Velodyne001_above719.laz -ilay</pre>
<p>To separate the drone-hit trajectory from the remaining points we run <a href="http://rapidlasso.com/lassplit">lassplit </a>with the &#8216;-ilay&#8217; option and request to split by classification with this command line:</p>
<pre>lassplit -i Velodyne001_above719.laz -ilay ^
         -by_classification -digits 3 ^
         -olaz</pre>
<p>This gives us two new files with the three-digit appendices &#8216;_001&#8217; and &#8216;_012&#8217;. The latter one contains those points we marked as being part of the trajectory. We now want to use <a href="http://rapidlasso.com/lasview">lasview</a> to &#8211; visually &#8211; find a good moment in time where to split the trajectory into multiple flightlines. The <a href="https://mega.nz/#!OUd2CTxJ!VsqRxUpODzLUCAHo_vngMkrmrgEdHYnT1cDLBTVLW_4">lasinfo report</a> tells us that the GPS time stamps are in the range from 418,519 to 418,602. In order to use the same trick as we did in our <a href="https://rapidlasso.com/2018/04/16/first-look-with-lastools-at-lidar-from-hovermap-drone-by-csiro/">recent article</a> on processing LiDAR data from the <a href="https://rapidlasso.com/2018/04/16/first-look-with-lastools-at-lidar-from-hovermap-drone-by-csiro/">Hovermap Drone</a>, where we mapped the GPS time to the intensity for querying it via <a href="http://rapidlasso.com/lasview">lasview</a>, we first need to subtract a large number from the GPS time stamps to bring them into a suitable range that fits the intensity field as done here.</p>
<pre>lasview -i Velodyne001_above719_012.laz ^
        -translate_gps_time -418000 ^
        -bin_gps_time_into_intensity 1
        -steps 5000</pre>
<p>The &#8216;-steps 5000&#8217; argument makes for a slower playback (press &#8216;p&#8217; to repeat) to better follow the trajectory.</p>
<p><a href="http://rapidlasso.com/2018/05/01/new-step-by-step-tutorial-for-velodyne-drone-lidar-with-snoopy-from-lidarusa/harrislidar_lasview_trajectory_picking/#main" rel="attachment wp-att-2840"><img loading="lazy" data-attachment-id="2840" data-permalink="https://rapidlasso.com/2018/05/01/new-step-by-step-tutorial-for-velodyne-drone-lidar-from-snoopy-by-lidarusa/harrislidar_lasview_trajectory_picking/" data-orig-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_trajectory_picking.jpg" data-orig-size="1040,807" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="harrislidar_lasview_trajectory_picking" data-image-description="" data-medium-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_trajectory_picking.jpg?w=300" data-large-file="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_trajectory_picking.jpg?w=1024" class="aligncenter size-full wp-image-2840" src="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_trajectory_picking.jpg?w=1040&#038;h=807" alt="" width="1040" height="807" srcset="https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_trajectory_picking.jpg 1040w, https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_trajectory_picking.jpg?w=150&amp;h=116 150w, https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_trajectory_picking.jpg?w=300&amp;h=233 300w, https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_trajectory_picking.jpg?w=768&amp;h=596 768w, https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_trajectory_picking.jpg?w=1024&amp;h=795 1024w" sizes="(max-width: 1040px) 100vw, 1040px" /></a>Hovering with the mouse over a point that &#8211; visually &#8211; seems to be one of the turning points of the drone and pressing &#8216;i&#8217; on the keyboard shows an intensity value of 548 which corresponds to the GPS time stamp 418548, which we then use to split the LiDAR point cloud (without the trajectory) into two flightlines:</p>
<pre>las2las -i Velodyne001_below719.laz ^
        -i Velodyne001_above719_001.laz ^
        -merged ^
        -keep_gps_time_below 418548 ^
        -o flightline1.laz

las2las -i Velodyne001_below719.laz ^
        -i Velodyne001_above719_001.laz ^
        -merged ^
        -keep_gps_time_above 418548 ^
        -o flightline2.laz</pre>
<p>Next we use <a href="http://rapidlasso.com">lasoverlap</a> to check how well the LiDAR points from the flight out and the flight back align vertically. This tool computes the difference of the lowest points for each square foot covered by both flightlines. Differences of less than a quarter of a foot are mapped to white, differences of more than half a foot are mapped to saturated red or blue depending on whether the difference is positive or negative:</p>
<pre>lasoverlap -i flightline1.laz ^
           -i flightline2.laz ^
           -faf ^
           -min_diff 0.25 -max_diff 0.50 -step 1 ^
           -odir quality -o overlap_025_050.png</pre>
<p>We then use a new feature of the LAStools GUI (as of version 180429) to closer inspect larger red or blue areas. We want to use <a href="http://rapidlasso.com/lasmerge">lasmerge</a> and clip out any region that looks suspect for closer examination with <a href="http://rapidlasso.com/lasview">lasview</a>. We start the tool in the GUI mode with the &#8216;-gui&#8217; command and the two flightlines pre-loaded. Using the new PNG overlay roll-out on the left we add the &#8216;overlap_025_050_diff.png&#8217; image from the quality folder created in the last step and clip out three areas.</p>
<pre>lasmerge -i flightline1.laz -i flightline2.laz -gui</pre>
<div class="tiled-gallery type-rectangular tiled-gallery-unresized" data-original-width="500" data-carousel-extra='{&quot;blog_id&quot;:41123003,&quot;permalink&quot;:&quot;https:\/\/rapidlasso.com\/2018\/05\/01\/new-step-by-step-tutorial-for-velodyne-drone-lidar-from-snoopy-by-lidarusa\/&quot;,&quot;likes_blog_id&quot;:41123003}' itemscope itemtype="http://schema.org/ImageGallery" > <div class="gallery-row" style="width: 500px; height: 260px;" data-original-width="500" data-original-height="260" > <div class="gallery-group images-1" style="width: 334px; height: 260px;" data-original-width="334" data-original-height="260" > <div class="tiled-gallery-item tiled-gallery-item-large" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject"> <a href="https://rapidlasso.com/2018/05/01/new-step-by-step-tutorial-for-velodyne-drone-lidar-from-snoopy-by-lidarusa/harrisaerial_clip_2500_3160_100x005/" border="0" itemprop="url"> <meta itemprop="width" content="330"> <meta itemprop="height" content="256"> <img data-attachment-id="2855" data-orig-file="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_clip_2500_3160_100x005.png" data-orig-size="1040,807" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="harrisaerial_clip_2500_3160_100x005" data-image-description="" data-medium-file="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_clip_2500_3160_100x005.png?w=300" data-large-file="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_clip_2500_3160_100x005.png?w=1024" src="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_clip_2500_3160_100x005.png?w=330&#038;h=256" width="330" height="256" data-original-width="330" data-original-height="256" itemprop="http://schema.org/image" title="harrisaerial_clip_2500_3160_100x005" alt="harrisaerial_clip_2500_3160_100x005" style="width: 330px; height: 256px;" /> </a> </div> </div> <!-- close group --> <div class="gallery-group images-2" style="width: 166px; height: 260px;" data-original-width="166" data-original-height="260" > <div class="tiled-gallery-item tiled-gallery-item-small" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject"> <a href="https://rapidlasso.com/2018/05/01/new-step-by-step-tutorial-for-velodyne-drone-lidar-from-snoopy-by-lidarusa/harrisaerial_clip_2450_3450_100x005/" border="0" itemprop="url"> <meta itemprop="width" content="162"> <meta itemprop="height" content="126"> <img data-attachment-id="2854" data-orig-file="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_clip_2450_3450_100x005.png" data-orig-size="1040,807" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="harrisaerial_clip_2450_3450_100x005" data-image-description="" data-medium-file="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_clip_2450_3450_100x005.png?w=300" data-large-file="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_clip_2450_3450_100x005.png?w=1024" src="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_clip_2450_3450_100x005.png?w=162&#038;h=126" width="162" height="126" data-original-width="162" data-original-height="126" itemprop="http://schema.org/image" title="harrisaerial_clip_2450_3450_100x005" alt="harrisaerial_clip_2450_3450_100x005" style="width: 162px; height: 126px;" /> </a> </div> <div class="tiled-gallery-item tiled-gallery-item-small" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject"> <a href="https://rapidlasso.com/2018/05/01/new-step-by-step-tutorial-for-velodyne-drone-lidar-from-snoopy-by-lidarusa/harrisaerial_clip_2430_3290_100x020/" border="0" itemprop="url"> <meta itemprop="width" content="162"> <meta itemprop="height" content="126"> <img data-attachment-id="2853" data-orig-file="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_clip_2430_3290_100x020.png" data-orig-size="1040,807" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="harrisaerial_clip_2430_3290_100x020" data-image-description="" data-medium-file="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_clip_2430_3290_100x020.png?w=300" data-large-file="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_clip_2430_3290_100x020.png?w=1024" src="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_clip_2430_3290_100x020.png?w=162&#038;h=126" width="162" height="126" data-original-width="162" data-original-height="126" itemprop="http://schema.org/image" title="harrisaerial_clip_2430_3290_100x020" alt="harrisaerial_clip_2430_3290_100x020" style="width: 162px; height: 126px;" /> </a> </div> </div> <!-- close group --> </div> <!-- close row --> </div>
<p>You can also clip out these three areas using the command lines below:</p>
<pre>lasmerge -i flightline1.laz -i flightline2.laz ^
         -faf ^
         -inside 2172500 1623160 2172600 1623165 ^
         -o <a href="https://mega.nz/#!aMMRARSa!PAW48k65HNz--6aDu-1Ttw4TGHGQS4A6ltTUdzo07fA">clip2500_3160_100x005.laz</a>

lasmerge -i flightline1.laz -i flightline2.laz ^
         -faf ^
         -inside 2172450 1623450 2172550 1623455 ^
         -o <a href="https://mega.nz/#!mJFHXayI!LRc1jPwHjd8oFK9oN_ArmpRDkFPprATV5kbgddn3Z8o">clip2450_3450_100x005.laz</a>

lasmerge -i flightline1.laz -i flightline2.laz ^
         -faf ^
         -inside 2172430 1623290 2172530 1623310 ^
         -o <a href="https://mega.nz/#!XJNSTBKB!2O3ByYLFveexnKJhcVhC4yeYHd73vUecPpEKzok3mqU">clip2430_3290_100x020.laz</a></pre>
<p>A closer inspection of the three cut out slices explains the red and blue areas in the difference image created by <a href="http://rapidlasso.com/lasoverlap">lasoverlap</a>. We find a small systematic error in two of the slices. In slice &#8216;<a href="https://mega.nz/#!aMMRARSa!PAW48k65HNz--6aDu-1Ttw4TGHGQS4A6ltTUdzo07fA">clip2500_3160_100x005.laz</a>&#8216; the green points from flightline 1 are on average slightly higher than the red points from flightline 2. Vice-versa in slice &#8216;<a href="https://mega.nz/#!mJFHXayI!LRc1jPwHjd8oFK9oN_ArmpRDkFPprATV5kbgddn3Z8o">clip2450_3450_100x005.laz</a>&#8216; the green points from flightline 1 are on average slightly lower than the red points from flightline 2. However, the error is less than half a foot and only happens near the edges of the flightlines. Given that our surfaces are expected to be &#8220;fluffy&#8221; anyways (as is typical for <a href="http://velodynelidar.com/">Velodyne LiDAR</a> systems), we accept these differences and continue processing.</p>
<div class="tiled-gallery type-rectangular tiled-gallery-unresized" data-original-width="500" data-carousel-extra='{&quot;blog_id&quot;:41123003,&quot;permalink&quot;:&quot;https:\/\/rapidlasso.com\/2018\/05\/01\/new-step-by-step-tutorial-for-velodyne-drone-lidar-from-snoopy-by-lidarusa\/&quot;,&quot;likes_blog_id&quot;:41123003}' itemscope itemtype="http://schema.org/ImageGallery" > <div class="gallery-row" style="width: 500px; height: 260px;" data-original-width="500" data-original-height="260" > <div class="gallery-group images-1" style="width: 334px; height: 260px;" data-original-width="334" data-original-height="260" > <div class="tiled-gallery-item tiled-gallery-item-large" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject"> <a href="https://rapidlasso.com/2018/05/01/new-step-by-step-tutorial-for-velodyne-drone-lidar-from-snoopy-by-lidarusa/harrisaerial_clip_2500_3160_100x005_flightline_both/" border="0" itemprop="url"> <meta itemprop="width" content="330"> <meta itemprop="height" content="256"> <img data-attachment-id="2864" data-orig-file="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_clip_2500_3160_100x005_flightline_both.jpg" data-orig-size="1040,807" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="harrisaerial_clip_2500_3160_100x005_flightline_both" data-image-description="" data-medium-file="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_clip_2500_3160_100x005_flightline_both.jpg?w=300" data-large-file="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_clip_2500_3160_100x005_flightline_both.jpg?w=1024" src="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_clip_2500_3160_100x005_flightline_both.jpg?w=330&#038;h=256" width="330" height="256" data-original-width="330" data-original-height="256" itemprop="http://schema.org/image" title="harrisaerial_clip_2500_3160_100x005_flightline_both" alt="Zooming in on the 5 foot slice &#039;clip2500_3160_100x005.laz&#039; colored by flightline." style="width: 330px; height: 256px;" /> </a> <div class="tiled-gallery-caption" itemprop="caption description"> Zooming in on the 5 foot slice &#8216;clip2500_3160_100x005.laz&#8217; colored by flightline. </div> </div> </div> <!-- close group --> <div class="gallery-group images-2" style="width: 166px; height: 260px;" data-original-width="166" data-original-height="260" > <div class="tiled-gallery-item tiled-gallery-item-small" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject"> <a href="https://rapidlasso.com/2018/05/01/new-step-by-step-tutorial-for-velodyne-drone-lidar-from-snoopy-by-lidarusa/harrisaerial_clip_2500_3160_100x005_flightline_1/" border="0" itemprop="url"> <meta itemprop="width" content="162"> <meta itemprop="height" content="126"> <img data-attachment-id="2863" data-orig-file="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_clip_2500_3160_100x005_flightline_1.jpg" data-orig-size="1040,807" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="harrisaerial_clip_2500_3160_100x005_flightline_1" data-image-description="" data-medium-file="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_clip_2500_3160_100x005_flightline_1.jpg?w=300" data-large-file="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_clip_2500_3160_100x005_flightline_1.jpg?w=1024" src="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_clip_2500_3160_100x005_flightline_1.jpg?w=162&#038;h=126" width="162" height="126" data-original-width="162" data-original-height="126" itemprop="http://schema.org/image" title="harrisaerial_clip_2500_3160_100x005_flightline_1" alt="There is a small shift between the two flightlines. This is flightline 1." style="width: 162px; height: 126px;" /> </a> <div class="tiled-gallery-caption" itemprop="caption description"> There is a small shift between the two flightlines. This is flightline 1. </div> </div> <div class="tiled-gallery-item tiled-gallery-item-small" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject"> <a href="https://rapidlasso.com/2018/05/01/new-step-by-step-tutorial-for-velodyne-drone-lidar-from-snoopy-by-lidarusa/harrisaerial_clip_2500_3160_100x005_flightline_2/" border="0" itemprop="url"> <meta itemprop="width" content="162"> <meta itemprop="height" content="126"> <img data-attachment-id="2862" data-orig-file="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_clip_2500_3160_100x005_flightline_2.jpg" data-orig-size="1040,807" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="harrisaerial_clip_2500_3160_100x005_flightline_2" data-image-description="" data-medium-file="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_clip_2500_3160_100x005_flightline_2.jpg?w=300" data-large-file="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_clip_2500_3160_100x005_flightline_2.jpg?w=1024" src="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_clip_2500_3160_100x005_flightline_2.jpg?w=162&#038;h=126" width="162" height="126" data-original-width="162" data-original-height="126" itemprop="http://schema.org/image" title="harrisaerial_clip_2500_3160_100x005_flightline_2" alt="There is a small shift between the two flightlines. This is flightline 2." style="width: 162px; height: 126px;" /> </a> <div class="tiled-gallery-caption" itemprop="caption description"> There is a small shift between the two flightlines. This is flightline 2. </div> </div> </div> <!-- close group --> </div> <!-- close row --> <div class="gallery-row" style="width: 500px; height: 389px;" data-original-width="500" data-original-height="389" > <div class="gallery-group images-1" style="width: 500px; height: 389px;" data-original-width="500" data-original-height="389" > <div class="tiled-gallery-item tiled-gallery-item-large" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject"> <a href="https://rapidlasso.com/2018/05/01/new-step-by-step-tutorial-for-velodyne-drone-lidar-from-snoopy-by-lidarusa/harrisaerial_clip_2450_3450_100x005_flightline_composite/" border="0" itemprop="url"> <meta itemprop="width" content="496"> <meta itemprop="height" content="385"> <img data-attachment-id="2861" data-orig-file="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_clip_2450_3450_100x005_flightline_composite.jpg" data-orig-size="1040,807" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="harrisaerial_clip_2450_3450_100x005_flightline_composite" data-image-description="" data-medium-file="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_clip_2450_3450_100x005_flightline_composite.jpg?w=300" data-large-file="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_clip_2450_3450_100x005_flightline_composite.jpg?w=1024" src="https://rapidlasso.files.wordpress.com/2018/04/harrisaerial_clip_2450_3450_100x005_flightline_composite.jpg?w=496&#038;h=385" width="496" height="385" data-original-width="496" data-original-height="385" itemprop="http://schema.org/image" title="harrisaerial_clip_2450_3450_100x005_flightline_composite" alt="Zooming in on the 5 foot slice &#039;clip2450_3450_100x005.laz&#039; colored by flightline. The top and button representations have a half foot drop/rise line attached to each return to get a sense of scale." style="width: 496px; height: 385px;" /> </a> <div class="tiled-gallery-caption" itemprop="caption description"> Zooming in on the 5 foot slice &#8216;clip2450_3450_100x005.laz&#8217; colored by flightline. The top and button representations have a half foot drop/rise line attached to each return to get a sense of scale. </div> </div> </div> <!-- close group --> </div> <!-- close row --> </div>
<p>The strong red and blue colors in the center of the difference image created by <a href="http://rapidlasso.com/lasoverlap">lasoverlap</a> is easily explained by looking at slice &#8216;<a href="https://mega.nz/#!XJNSTBKB!2O3ByYLFveexnKJhcVhC4yeYHd73vUecPpEKzok3mqU">clip2430_3290_100x020.laz</a>&#8216;. The scanner was &#8220;looking&#8221; under a gazebo-like open roof structure from two different directions and therefore always seeing parts of the floor in one flightline that were obscured by the roof in the other.</p>
<div class="tiled-gallery type-rectangular tiled-gallery-unresized" data-original-width="500" data-carousel-extra='{&quot;blog_id&quot;:41123003,&quot;permalink&quot;:&quot;https:\/\/rapidlasso.com\/2018\/05\/01\/new-step-by-step-tutorial-for-velodyne-drone-lidar-from-snoopy-by-lidarusa\/&quot;,&quot;likes_blog_id&quot;:41123003}' itemscope itemtype="http://schema.org/ImageGallery" > <div class="gallery-row" style="width: 500px; height: 260px;" data-original-width="500" data-original-height="260" > <div class="gallery-group images-1" style="width: 334px; height: 260px;" data-original-width="334" data-original-height="260" > <div class="tiled-gallery-item tiled-gallery-item-large" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject"> <a href="https://rapidlasso.com/2018/05/01/new-step-by-step-tutorial-for-velodyne-drone-lidar-from-snoopy-by-lidarusa/harrisaerial_clip_2430_3290_100x020_flightline_both/" border="0" itemprop="url"> <meta itemprop="width" content="330"> <meta itemprop="height" content="256"> <img data-attachment-id="2867" data-orig-file="https://rapidlasso.files.wordpress.com/2018/05/harrisaerial_clip_2430_3290_100x020_flightline_both.jpg" data-orig-size="1040,807" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="harrisaerial_clip_2430_3290_100x020_flightline_both" data-image-description="" data-medium-file="https://rapidlasso.files.wordpress.com/2018/05/harrisaerial_clip_2430_3290_100x020_flightline_both.jpg?w=300" data-large-file="https://rapidlasso.files.wordpress.com/2018/05/harrisaerial_clip_2430_3290_100x020_flightline_both.jpg?w=1024" src="https://rapidlasso.files.wordpress.com/2018/05/harrisaerial_clip_2430_3290_100x020_flightline_both.jpg?w=330&#038;h=256" width="330" height="256" data-original-width="330" data-original-height="256" itemprop="http://schema.org/image" title="harrisaerial_clip_2430_3290_100x020_flightline_both" alt="The points from the 20 foot slice &#039;clip2430_3290_100x020.laz&#039; colored by flightline." style="width: 330px; height: 256px;" /> </a> <div class="tiled-gallery-caption" itemprop="caption description"> The points from the 20 foot slice &#8216;clip2430_3290_100x020.laz&#8217; colored by flightline. </div> </div> </div> <!-- close group --> <div class="gallery-group images-2" style="width: 166px; height: 260px;" data-original-width="166" data-original-height="260" > <div class="tiled-gallery-item tiled-gallery-item-small" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject"> <a href="https://rapidlasso.com/2018/05/01/new-step-by-step-tutorial-for-velodyne-drone-lidar-from-snoopy-by-lidarusa/harrisaerial_clip_2430_3290_100x020_flightline_1/" border="0" itemprop="url"> <meta itemprop="width" content="162"> <meta itemprop="height" content="126"> <img data-attachment-id="2866" data-orig-file="https://rapidlasso.files.wordpress.com/2018/05/harrisaerial_clip_2430_3290_100x020_flightline_1.jpg" data-orig-size="1040,807" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="harrisaerial_clip_2430_3290_100x020_flightline_1" data-image-description="" data-medium-file="https://rapidlasso.files.wordpress.com/2018/05/harrisaerial_clip_2430_3290_100x020_flightline_1.jpg?w=300" data-large-file="https://rapidlasso.files.wordpress.com/2018/05/harrisaerial_clip_2430_3290_100x020_flightline_1.jpg?w=1024" src="https://rapidlasso.files.wordpress.com/2018/05/harrisaerial_clip_2430_3290_100x020_flightline_1.jpg?w=162&#038;h=126" width="162" height="126" data-original-width="162" data-original-height="126" itemprop="http://schema.org/image" title="harrisaerial_clip_2430_3290_100x020_flightline_1" alt="The reason for the big difference is that during flightline 1 the scanner &quot;looks&quot; under the roof from the right." style="width: 162px; height: 126px;" /> </a> <div class="tiled-gallery-caption" itemprop="caption description"> The reason for the big difference is that during flightline 1 the scanner &#8220;looks&#8221; under the roof from the right. </div> </div> <div class="tiled-gallery-item tiled-gallery-item-small" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject"> <a href="https://rapidlasso.com/2018/05/01/new-step-by-step-tutorial-for-velodyne-drone-lidar-from-snoopy-by-lidarusa/harrisaerial_clip_2430_3290_100x020_flightline_2/" border="0" itemprop="url"> <meta itemprop="width" content="162"> <meta itemprop="height" content="126"> <img data-attachment-id="2865" data-orig-file="https://rapidlasso.files.wordpress.com/2018/05/harrisaerial_clip_2430_3290_100x020_flightline_2.jpg" data-orig-size="1040,807" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="harrisaerial_clip_2430_3290_100x020_flightline_2" data-image-description="" data-medium-file="https://rapidlasso.files.wordpress.com/2018/05/harrisaerial_clip_2430_3290_100x020_flightline_2.jpg?w=300" data-large-file="https://rapidlasso.files.wordpress.com/2018/05/harrisaerial_clip_2430_3290_100x020_flightline_2.jpg?w=1024" src="https://rapidlasso.files.wordpress.com/2018/05/harrisaerial_clip_2430_3290_100x020_flightline_2.jpg?w=162&#038;h=126" width="162" height="126" data-original-width="162" data-original-height="126" itemprop="http://schema.org/image" title="harrisaerial_clip_2430_3290_100x020_flightline_2" alt="Whereas during flightline 2 the scanner &quot;looks&quot; under the roof from the left." style="width: 162px; height: 126px;" /> </a> <div class="tiled-gallery-caption" itemprop="caption description"> Whereas during flightline 2 the scanner &#8220;looks&#8221; under the roof from the left. </div> </div> </div> <!-- close group --> </div> <!-- close row --> </div>
<p>While working with this data we&#8217;ve also implemented a new feature for <a href="http://rapidlasso.com/lastrack">lastrack</a> that computes the 3D distance between LiDAR points and the trajectory and allows storing the result as an additional per point attribute with extra bytes. Those can then be visualized with <a href="http://rapidlasso.com/lasgrid">lasgrid</a>. Here an example:</p>
<pre>lastrack -i flightline1.laz ^
         -i flightline2.laz ^
         -track Velodyne001_above719_012.laz ^
         -store_xyz_range_as_extra_bytes ^
         -odix _xyz_range -olaz ^
         =cores 2

lasgrid -i flightline*_xyz_range.laz -merged ^
        -drop_attribute_below 0 1 ^
        -attribute0 -lowest ^
        -false -set_min_max 20 200 ^
        -o quality/closest_xyz_range_020ft_200ft.png

lasgrid -i flightline*_xyz_range.laz -merged ^
        -drop_attribute_below 0 1 ^
        -attribute0 -highest ^
        -false -set_min_max 30 300 ^
        -o quality/farthest_xyz_range_030ft_300ft.png</pre>
<div class="tiled-gallery type-rectangular tiled-gallery-unresized" data-original-width="500" data-carousel-extra='{&quot;blog_id&quot;:41123003,&quot;permalink&quot;:&quot;https:\/\/rapidlasso.com\/2018\/05\/01\/new-step-by-step-tutorial-for-velodyne-drone-lidar-from-snoopy-by-lidarusa\/&quot;,&quot;likes_blog_id&quot;:41123003}' itemscope itemtype="http://schema.org/ImageGallery" > <div class="gallery-row" style="width: 500px; height: 210px;" data-original-width="500" data-original-height="210" > <div class="gallery-group images-1" style="width: 250px; height: 210px;" data-original-width="250" data-original-height="210" > <div class="tiled-gallery-item tiled-gallery-item-small" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject"> <a href="https://rapidlasso.com/2018/05/01/new-step-by-step-tutorial-for-velodyne-drone-lidar-from-snoopy-by-lidarusa/closest_xyz_range_020ft_200ft/" border="0" itemprop="url"> <meta itemprop="width" content="246"> <meta itemprop="height" content="206"> <img data-attachment-id="2859" data-orig-file="https://rapidlasso.files.wordpress.com/2018/04/closest_xyz_range_020ft_200ft.png" data-orig-size="949,794" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="closest_xyz_range_020ft_200ft" data-image-description="" data-medium-file="https://rapidlasso.files.wordpress.com/2018/04/closest_xyz_range_020ft_200ft.png?w=300" data-large-file="https://rapidlasso.files.wordpress.com/2018/04/closest_xyz_range_020ft_200ft.png?w=949" src="https://rapidlasso.files.wordpress.com/2018/04/closest_xyz_range_020ft_200ft.png?w=246&#038;h=206" width="246" height="206" data-original-width="246" data-original-height="206" itemprop="http://schema.org/image" title="closest_xyz_range_020ft_200ft" alt="Visualization of the closest distance of any return from the trajectory for every square foot with 20 ft (or less) being mapped to blue and 200ft (or more) being mapped to red." style="width: 246px; height: 206px;" /> </a> <div class="tiled-gallery-caption" itemprop="caption description"> Visualization of the closest distance of any return from the trajectory for every square foot with 20 ft (or less) being mapped to blue and 200ft (or more) being mapped to red. </div> </div> </div> <!-- close group --> <div class="gallery-group images-1" style="width: 250px; height: 210px;" data-original-width="250" data-original-height="210" > <div class="tiled-gallery-item tiled-gallery-item-small" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject"> <a href="https://rapidlasso.com/2018/05/01/new-step-by-step-tutorial-for-velodyne-drone-lidar-from-snoopy-by-lidarusa/farthest_xyz_range_030ft_300ft/" border="0" itemprop="url"> <meta itemprop="width" content="246"> <meta itemprop="height" content="206"> <img data-attachment-id="2858" data-orig-file="https://rapidlasso.files.wordpress.com/2018/04/farthest_xyz_range_030ft_300ft.png" data-orig-size="949,794" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="farthest_xyz_range_030ft_300ft" data-image-description="" data-medium-file="https://rapidlasso.files.wordpress.com/2018/04/farthest_xyz_range_030ft_300ft.png?w=300" data-large-file="https://rapidlasso.files.wordpress.com/2018/04/farthest_xyz_range_030ft_300ft.png?w=949" src="https://rapidlasso.files.wordpress.com/2018/04/farthest_xyz_range_030ft_300ft.png?w=246&#038;h=206" width="246" height="206" data-original-width="246" data-original-height="206" itemprop="http://schema.org/image" title="farthest_xyz_range_030ft_300ft" alt="Visualization of the farthest distance of any return from the trajectory for every square foot with 30 ft (or less) being mapped to blue and 300ft (or more) being mapped to red." style="width: 246px; height: 206px;" /> </a> <div class="tiled-gallery-caption" itemprop="caption description"> Visualization of the farthest distance of any return from the trajectory for every square foot with 30 ft (or less) being mapped to blue and 300ft (or more) being mapped to red. </div> </div> </div> <!-- close group --> </div> <!-- close row --> </div>
<p>Below the complete processing pipeline for creating a median ground model from the &#8220;fluffy&#8221; <a href="http://velodynelidar.com/">Velodyne LiDAR</a> data that results in the hillshaded DTM shown here. The workflow is similar to those we have developed <a href="https://rapidlasso.com/2018/04/16/first-look-with-lastools-at-lidar-from-hovermap-drone-by-csiro/">in earlier blog posts</a> for <a href="http://velodynelidar.com/vlp-16.html">Velodyne Puck</a> based systems like the <a href="https://rapidlasso.com/2018/04/16/first-look-with-lastools-at-lidar-from-hovermap-drone-by-csiro/">Hovermap</a> and the <a href="https://rapidlasso.com/2017/10/29/processing-drone-lidar-from-yellowscans-surveyor-a-velodyne-puck-based-system/">Yellowscan</a>.</p>
<div data-shortcode="caption" id="attachment_2870" style="width: 1186px" class="wp-caption aligncenter"><a href="http://rapidlasso.com/2018/05/01/new-step-by-step-tutorial-for-velodyne-drone-lidar-with-snoopy-from-lidarusa/dtm_hillshaded/#main" rel="attachment wp-att-2870"><img loading="lazy" aria-describedby="caption-attachment-2870" data-attachment-id="2870" data-permalink="https://rapidlasso.com/2018/05/01/new-step-by-step-tutorial-for-velodyne-drone-lidar-from-snoopy-by-lidarusa/dtm_hillshaded/" data-orig-file="https://rapidlasso.files.wordpress.com/2018/05/dtm_hillshaded.png" data-orig-size="1250,1000" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="dtm_hillshaded" data-image-description="" data-medium-file="https://rapidlasso.files.wordpress.com/2018/05/dtm_hillshaded.png?w=300" data-large-file="https://rapidlasso.files.wordpress.com/2018/05/dtm_hillshaded.png?w=1024" class="size-full wp-image-2870" src="https://rapidlasso.files.wordpress.com/2018/05/dtm_hillshaded.png?w=1176&#038;h=941" alt="" width="1176" height="941" srcset="https://rapidlasso.files.wordpress.com/2018/05/dtm_hillshaded.png?w=1176&amp;h=941 1176w, https://rapidlasso.files.wordpress.com/2018/05/dtm_hillshaded.png?w=150&amp;h=120 150w, https://rapidlasso.files.wordpress.com/2018/05/dtm_hillshaded.png?w=300&amp;h=240 300w, https://rapidlasso.files.wordpress.com/2018/05/dtm_hillshaded.png?w=768&amp;h=614 768w, https://rapidlasso.files.wordpress.com/2018/05/dtm_hillshaded.png?w=1024&amp;h=819 1024w, https://rapidlasso.files.wordpress.com/2018/05/dtm_hillshaded.png 1250w" sizes="(max-width: 1176px) 100vw, 1176px" /></a><p id="caption-attachment-2870" class="wp-caption-text">Hillshaded DTM with a resolution of 1 foot generated via a median ground computation by the <a href="http://rapidlasso.com/LAStools">LAStools</a> processing pipeline detailed below.</p></div>
<pre>lastile -i flightline1.laz ^
        -i flightline2.laz ^
        -faf ^
        -tile_size 250 -buffer 25 -flag_as_withheld ^
        -odir tiles_raw -o somer.laz

lasnoise -i tiles_raw\*.laz ^
         -step_xy 2 -step 1 -isolated 9 ^
         -odir tiles_denoised -olaz ^
          -cores 4

lasthin -i tiles_denoised\*.laz ^
        -ignore_class 7 ^
        -step 1 -percentile 5 10 -classify_as 8 ^
        -odir tiles_thinned_1_foot -olaz ^
        -cores 4

lasthin -i tiles_thinned_1_foot\*.laz ^
        -ignore_class 7 ^
        -step 2 -percentile 5 10 -classify_as 8 ^
        -odir tiles_thinned_2_foot -olaz ^
        -cores 4

lasthin -i tiles_thinned_2_foot\*.laz ^
        -ignore_class 7 ^
        -step 4 -percentile 5 10 -classify_as 8 ^
        -odir tiles_thinned_4_foot -olaz ^
        -cores 4

lasthin -i tiles_thinned_4_foot\*.laz ^
        -ignore_class 7 ^
        -step 8 -percentile 5 10 -classify_as 8 ^
        -odir tiles_thinned_8_foot -olaz ^
        -cores 4

lasground -i tiles_thinned_8_foot\*.laz ^
          -ignore_class 1 7 ^
          -town -extra_fine ^
          -odir tiles_ground_lowest -olaz ^
          -cores 4

lasheight -i tiles_ground_lowest\*.laz ^
          -classify_between -0.05 0.5 6 ^
          -odir tiles_ground_thick -olaz ^
          -cores 4

lasthin -i tiles_ground_thick\*.laz ^
        -ignore_class 1 7 ^
        -step 1 -percentile 50 -classify_as 2 ^
        -odir tiles_ground_median -olaz ^
        -cores 4

las2dem -i tiles_ground_median\*.laz ^
        -keep_class 2 ^
        -step 1 -use_tile_bb ^
        -odir tiles_dtm -obil ^
        -cores 4

blast2dem -i tiles_dtm\*.bil -merged ^
          -step 1 -hillshade ^
          -o dtm_hillshaded.png</pre>
<p>We thank <a href="http://harrisaerial.com">Harris Aerial</a> for sharing <a href="https://mega.nz/#!aVlzHCBR!qiBJ2W1E1YRhtEPJzlonOWND1kb8gyL2nCTLD1zv8Wk">this LiDAR data set</a> with us flown by their <a href="http://www.harrisaerial.com/carrier-h4-hybrid-drone/">Carrier H4 Hybrid HE</a> drone carrying a <a href="https://www.lidarusa.com/snoopy-a-series.html">Snoopy A series</a> LiDAR system from <a href="https://www.lidarusa.com/">LidarUSA</a>.</p>
]]></html><thumbnail_url><![CDATA[https://rapidlasso.files.wordpress.com/2018/04/harrislidar_lasview_first_look_elevation_680_750.jpg?fit=440%2C330]]></thumbnail_url><thumbnail_width><![CDATA[425]]></thumbnail_width><thumbnail_height><![CDATA[330]]></thumbnail_height></oembed>