{"id":1164,"date":"2015-10-16T00:52:01","date_gmt":"2015-10-16T00:52:01","guid":{"rendered":"http:\/\/blogs.lincoln.ac.nz\/gis\/?p=1164"},"modified":"2023-05-07T00:45:12","modified_gmt":"2023-05-07T00:45:12","slug":"lidar-data-thousands-of-tiny-luminous-spheres","status":"publish","type":"post","link":"https:\/\/blogs.lincoln.ac.nz\/gis\/lidar-data-thousands-of-tiny-luminous-spheres\/","title":{"rendered":"LiDAR Data &#8211; Thousands of Tiny Luminous Spheres"},"content":{"rendered":"<p><em>This post covers the basics of LiDAR data and how very high resolution DEMs can be derived from LiDAR data.<\/em><\/p>\n<p>With an appropriate nod to <a href=\"http:\/\/www.thebats.co.nz\/\" target=\"_blank\" rel=\"noopener\">The Bats<\/a>, we&#8217;ll cover LiDAR data, which, while sort of luminous but not spherical, are certainly tiny and numerous. \u00a0Thousands is a HUGE underestimate.\u00a0 LiDAR is a form of remote sensing and, though this is in dispute, is generally accepted to stand for Light Detection and Ranging.\u00a0 LiDAR uses lasers to measure distances by monitoring how long it takes a beam of laser light to return to its source after bouncing off stuff.\u00a0 Think back to those old Hollywood war movies involving submarines.\u00a0 High tension as they pinged other subs and ships with sonar, and used that as a way to figure out where the enemy was.\u00a0 LiDAR works in a similar way only using light instead of sound.\u00a0 In practice, this usually means mounting a laser system into an airplane equipped with a high-precision GPS system.\u00a0 The laser system fires out a series of beams but also has a receiver that monitors when the beam reflects back\u00a0to its source.\u00a0 Then we&#8217;re back to some basic high school physics.\u00a0 Light travels at a roughly constant speed (3 x 10^8 m\/sec for those playing at home) so if we know\u00a0 how long it took for the signal to return, we can also determine how far away that point is from its source (after dividing by 2).\u00a0 The GPS is then used to locate exactly where the airplane is.\u00a0\u00a0 So picture an airplane flying over the ground, shooting out beams of laser light as it goes.\u00a0 Also picture a collection of points on the ground where the laser beam hits the earth.\u00a0 These points also hit trees, and building, and cars, and people and anything on the ground.\u00a0 Those are our luminous spheres (well, points):<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/09\/lidarimage.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1162\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/09\/lidarimage.jpg\" alt=\"lidarimage\" width=\"538\" height=\"358\" \/><\/a><\/p>\n<p>There&#8217;s one more aspect of the system.\u00a0 Anyone who&#8217;s flown in an airplane will be familiar with turbulence and how that can change the direction the plane is facing.<\/p>\n<p><a href=\"https:\/\/www.flickr.com\/photos\/flissphil\/3554882983\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1168\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/3554882983_91788f4582_b.jpg\" alt=\"3554882983_91788f4582_b\" width=\"1024\" height=\"671\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/3554882983_91788f4582_b.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/3554882983_91788f4582_b-300x197.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/3554882983_91788f4582_b-768x503.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>To take this into account, the airplane is also equipped with an Inertial Measurement Unit (IMU) which brings pitch and yaw into the picture.\u00a0 The three components together allow the three dimensional position of all those points on the ground to be calculated, giving us x, y and z coordinates which we can then map.\u00a0 Since laser light is used, we can have millions if not billions of points on the ground. \u00a0The average spacing between these points may be on the order of half a metre, so from LiDAR data we can derive some very high resolution DEMs.\u00a0 And therein lies the real power of LiDAR &#8211; the collection of high resolution and high precision elevation points over large areas in relatively short amounts of time.<\/p>\n<p>As you might imagine, after the Christchurch earthquakes, several sets of LiDAR data were collected, many of them just after major aftershocks.\u00a0 These data have given us an extensive picture of how the topography of the city and region has been changed by the earthquakes.\u00a0 So now we&#8217;ll cover some of the basics of how we can work with these data.<\/p>\n<p><strong>LAS Files &#8211; Raw LiDAR Data<\/strong><\/p>\n<p>Once the raw data have been processed, the output is a &#8220;point cloud&#8221; and could be as simple as a text file of x, y and z points.\u00a0 Typically, extra data are collected which we&#8217;ll talk about later, but because LiDAR datasets can be so huge, they&#8217;re typically encoded in a standard binary format, known as LAS files.\u00a0 These are usually broken up into tiles that are subdivisions of the standard 1:50,000 topomap extents.\u00a0 Sorties were flown just after the September 2010 earthquakes &#8211; a total of five sorties were flown between September 2010 and December 2011.\u00a0 In the image below, you can see the tiles for a mission flown in February 2011, just after the Lyttelton earthquake.<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Tiles.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1172\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Tiles.jpg\" alt=\"Tiles\" width=\"1178\" height=\"728\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Tiles.jpg 1178w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Tiles-300x185.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Tiles-1024x633.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Tiles-768x475.jpg 768w\" sizes=\"auto, (max-width: 1178px) 100vw, 1178px\" \/><\/a><\/p>\n<p>Quite an extensive coverage.\u00a0 Note that Lincoln is covered so we&#8217;ll focus on those tiles as we&#8217;re all pretty familiar with the place.\u00a0 For this dataset there are 4994 separate tiles and a total of, get this, 1,078,978,468 points!\u00a0 Yes, that&#8217;s a billion points.\u00a0 For the Lincoln subset we&#8217;ll deal with two tiles and a mere 2,161,269 points.\u00a0 One handy way to deal with LAS files is to create LAS Datasets, which give us a quick way to visualise the data.\u00a0 We can use the Create LAS Dataset tool on raw LAS tiles and quickly convert that to something useful:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/CreateLASD.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-1171 alignright\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/CreateLASD.jpg\" alt=\"CreateLASD\" width=\"401\" height=\"522\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/CreateLASD.jpg 516w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/CreateLASD-230x300.jpg 230w\" sizes=\"auto, (max-width: 401px) 100vw, 401px\" \/><\/a><\/p>\n<p>We can point this tool as whole folders or individual tiles.\u00a0 We&#8217;re managing a lot of data here and it usually pays to keep the input data to just the tiles you need.\u00a0 Processing can take significant time, just ask the ERST310\/607 students.\u00a0 At the end we can add our LAS Dataset to an ArcMap map and get a sense of what&#8217;s in there.<\/p>\n<p>For those of you who would like to play at home, there&#8217;s a copy of this LAS Dataset on J:\\Data\\LincolnLiDAR.\u00a0 Below is the LAS Dataset for our two Lincoln tiles:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/LASD.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1173\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/LASD.jpg\" alt=\"LASD\" width=\"1178\" height=\"725\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/LASD.jpg 1178w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/LASD-300x185.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/LASD-1024x630.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/LASD-768x473.jpg 768w\" sizes=\"auto, (max-width: 1178px) 100vw, 1178px\" \/><\/a><\/p>\n<p>We can visualise these in a number of ways but adding the LAS Toolbar.<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/LASToolbar.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1174\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/LASToolbar.jpg\" alt=\"LASToolbar\" width=\"537\" height=\"25\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/LASToolbar.jpg 537w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/LASToolbar-300x14.jpg 300w\" sizes=\"auto, (max-width: 537px) 100vw, 537px\" \/><\/a><\/p>\n<p>We can set our layers to show the points, or an elevation surface built off those points.\u00a0 Below I&#8217;ve zoomed in to a set of points &#8211; their elevations are colour coded.\u00a0 You can get a sense of their spacings with the satellite image underneath (that&#8217;s the Forbes Building we&#8217;re looking at).<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Points.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1175\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Points.jpg\" alt=\"Points\" width=\"1125\" height=\"571\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Points.jpg 1125w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Points-300x152.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Points-1024x520.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Points-768x390.jpg 768w\" sizes=\"auto, (max-width: 1125px) 100vw, 1125px\" \/><\/a><\/p>\n<p>Before we turn the elevation surface on, we can go a step further with these points.\u00a0 Zooming out\u00a0and clicking the 3D viewer, we get a window that allows us to move the point cloud around to see more detail &#8211; recognise where we are?.<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/3D.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1176\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/3D.jpg\" alt=\"3D\" width=\"640\" height=\"477\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/3D.jpg 640w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/3D-300x224.jpg 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>Maybe not &#8211; it&#8217;s the Forbes lawn looking toward Ivey Hall, trees and all. \u00a0We can also get a profile by clicking the 3D Profile tool and drawing a line on the points.\u00a0 We can also give it a bit of width and see what that looks like:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Profile.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1177\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Profile.jpg\" alt=\"Profile\" width=\"1360\" height=\"396\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Profile.jpg 1360w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Profile-300x87.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Profile-1024x298.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Profile-768x224.jpg 768w\" sizes=\"auto, (max-width: 1360px) 100vw, 1360px\" \/><\/a><\/p>\n<p>Ivey Hall and Memorial Hall and the trees at right. \u00a0We should now delve a bit deeper in to the data.\u00a0 Imagine a laser beam encountering a tree.\u00a0 Parts of the beam perhaps hit a leaf.\u00a0 Some of that light gets absorbed, some bounces off and returns to the airplane.\u00a0 This is our so called &#8220;first return&#8221;.\u00a0 Parts of the beam may continue on through the tree, maybe encountering a branch or another leaf, and as above, some gets absorbed, and some bounces back to the plane &#8211; our &#8220;second return&#8221;.\u00a0 Eventually, the beam hits the ground, some gets absorbed, some bounces back to the airplane &#8211; our &#8220;last return&#8221;.\u00a0 So one beam may have multiple returns as shown below:<\/p>\n<p><a href=\"http:\/\/home.iitk.ac.in\/~blohani\/LiDAR_Tutorial\/Multiple%20return%20LiDAR.htm\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1178\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Multip8.jpg\" alt=\"Multip8\" width=\"578\" height=\"341\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Multip8.jpg 578w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Multip8-300x177.jpg 300w\" sizes=\"auto, (max-width: 578px) 100vw, 578px\" \/><\/a><\/p>\n<p>If the beams bounce off a hard surface like a building roof, or a car, or your head, there may only be one return.\u00a0 These returns are recorded in the data and can be mapped.\u00a0 If you click on the points button on the LAS toolbar, you&#8217;ll see you can show the points as elevation, class or return.\u00a0 Here&#8217;s what the returns look like:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/returns.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1179\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/returns.jpg\" alt=\"returns\" width=\"1153\" height=\"591\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/returns.jpg 1153w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/returns-300x154.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/returns-1024x525.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/returns-768x394.jpg 768w\" sizes=\"auto, (max-width: 1153px) 100vw, 1153px\" \/><\/a><\/p>\n<p>Mostly first returns in these data. \u00a0As to class, the points can also be classified into a set of predefined classes as outlined by the American\u00a0Society for Photogrammetry and Remote Sensing (ASPRS)\u00a0protocol into these classes:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Classifications.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1180\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Classifications.jpg\" alt=\"Classifications\" width=\"583\" height=\"430\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Classifications.jpg 583w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Classifications-300x221.jpg 300w\" sizes=\"auto, (max-width: 583px) 100vw, 583px\" \/><\/a><\/p>\n<p>This isn&#8217;t even all of them &#8211; check <a href=\"https:\/\/desktop.arcgis.com\/en\/desktop\/latest\/manage-data\/las-dataset\/lidar-point-classification.htm\" target=\"_blank\" rel=\"noopener\">here<\/a> for the whole set. \u00a0These classes can be terribly useful &#8211; unfortunately, the classes of the earthquake LiDAR sets is pretty inconsistent across the datasets but at a minimum we tend to have ground and non-ground.\u00a0 We&#8217;ll see later how this can be quite useful.<\/p>\n<p>Let&#8217;s now turn to the elevation surface:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Elevation.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1181\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Elevation.jpg\" alt=\"Elevation\" width=\"1131\" height=\"575\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Elevation.jpg 1131w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Elevation-300x153.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Elevation-1024x521.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Elevation-768x390.jpg 768w\" sizes=\"auto, (max-width: 1131px) 100vw, 1131px\" \/><\/a><\/p>\n<p>We can clearly make out buildings and roof shapes now &#8211; that&#8217;s the Forbes Lawn again. \u00a0The surface button allows us to visualise the elevations, aspect, slope and contour lines.\u00a0 To see the real impact of the returns, let&#8217;s look at the Filter menu.\u00a0 Notice that when we click it we&#8217;ve got a few options:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1182 alignnone\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/FilterMenu.jpg\" alt=\"FilterMenu\" width=\"136\" height=\"111\" \/><\/p>\n<p>We can choose All, Ground, Non Ground and First Return.\u00a0 All will show us all returns, i.e. everything.\u00a0 This allows us to see the trees and the buildings as well as the ground level.\u00a0 Setting this to Ground will display only those areas classified as ground level, as if we could just sweep everything on the surface aside. \u00a0Here&#8217;s what that looks like for the same view as above:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Ground.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1183\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Ground.jpg\" alt=\"Ground\" width=\"1130\" height=\"575\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Ground.jpg 1130w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Ground-300x153.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Ground-1024x521.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Ground-768x391.jpg 768w\" sizes=\"auto, (max-width: 1130px) 100vw, 1130px\" \/><\/a><\/p>\n<p>The surface has done its best to interpolate the ground surface where the buildings are. \u00a0The Non Ground setting shows us what&#8217;s been classified as not ground while Last Return shows only the areas derived from the last returns (which usually doesn&#8217;t show major differences for these data).<\/p>\n<p>While LAS Datasets are quite useful for visualising the raw data, they&#8217;re not able to be used for analysis.\u00a0 To do further useful stuff with this we&#8217;re best to convert the LAS Datasets to raster grids.\u00a0 There are two main grids we&#8217;d want to derive from these data: grids that show the &#8220;bare earth&#8221; elevations (DEMs) and grids that also incorporate surface features like buildings and trees (DTMs &#8211; Digital Terrain Models).\u00a0 It&#8217;s a two-step process to get each.\u00a0 We can use the LAS Dataset to Raster tool to create the grid, but we need to first filter the data to use the correct returns.\u00a0 We can do this from the LAS Dataset Properties Filter tab.\u00a0 There are some predefined settings which make life a bit easier.\u00a0 For the bare earth DEM, set this to &#8220;Ground&#8221;.\u00a0 We also need to set the Filter on the LAS Toolbar to Ground.<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Filter.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1184\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Filter.jpg\" alt=\"Filter\" width=\"1128\" height=\"575\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Filter.jpg 1128w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Filter-300x153.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Filter-1024x522.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/Filter-768x391.jpg 768w\" sizes=\"auto, (max-width: 1128px) 100vw, 1128px\" \/><\/a><\/p>\n<p>Next we can use the LAS Dataset to Raster tool.\u00a0 Given the high resolution of these data, we can easily get grids with a 2 m resolution:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/BEtoRaster.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1185\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/BEtoRaster.jpg\" alt=\"BEtoRaster\" width=\"512\" height=\"674\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/BEtoRaster.jpg 512w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/BEtoRaster-228x300.jpg 228w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/a><\/p>\n<p>This will create a &#8220;Bare Earth&#8221; raster grid for use with further analysis.<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/BareEarthDEM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1186\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/BareEarthDEM.jpg\" alt=\"BareEarthDEM\" width=\"1146\" height=\"585\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/BareEarthDEM.jpg 1146w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/BareEarthDEM-300x153.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/BareEarthDEM-1024x523.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/BareEarthDEM-768x392.jpg 768w\" sizes=\"auto, (max-width: 1146px) 100vw, 1146px\" \/><\/a><\/p>\n<p>If we next reset our filters to Non Ground and the run the tool again we&#8217;ll get a DTM which includes the surface features:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/DTM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1187\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/DTM.jpg\" alt=\"DTM\" width=\"1147\" height=\"591\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/DTM.jpg 1147w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/DTM-300x155.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/DTM-1024x528.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/DTM-768x396.jpg 768w\" sizes=\"auto, (max-width: 1147px) 100vw, 1147px\" \/><\/a><\/p>\n<p>This could be a useful grid for more realistic viewsheds.\u00a0 One of the things we&#8217;ll cover later on is how grids like this will allow us to build realistic and accurate 3D models using <a href=\"http:\/\/www.esri.com\/software\/cityengine\" target=\"_blank\" rel=\"noopener\">CityEngine<\/a>.\u00a0 This is one of the promises of LiDAR &#8211; accurate extraction of building from the data, still a bit of a holy grail but we&#8217;re edging ever closer.<\/p>\n<p>So using LAS Datasets is one way of creating DEMs\/DTMs.\u00a0 There is another way which is arguably a bit better (i.e. less &#8220;noisy&#8221;) which involves using <a href=\"http:\/\/www.esri.com\/news\/arcuser\/0311\/terrain-datasets.html\" target=\"_blank\" rel=\"noopener\">Terrain Datasets<\/a>.\u00a0 Contact me if you&#8217;d like to hear more about this.<\/p>\n<p>LiDAR data is a powerful (though not inexpensive) way of creating high resolution elevation grids using lasers, GPS, IMUs and a whole lot of number crunching.\u00a0 I&#8217;d hazard to say that most people will probably end up working with the end products of work such as what I&#8217;ve outlined above.\u00a0 For example, the LiDAR derived 2 m DEM is available on <a href=\"https:\/\/data.canterburymaps.govt.nz\/\" target=\"_blank\" rel=\"noopener\" data-wplink-edit=\"true\">ECan&#8217;s data service<\/a>:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/KaikouraDEM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1166\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/KaikouraDEM.jpg\" alt=\"KaikouraDEM\" width=\"1364\" height=\"728\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/KaikouraDEM.jpg 1364w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/KaikouraDEM-300x160.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/KaikouraDEM-1024x547.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/10\/KaikouraDEM-768x410.jpg 768w\" sizes=\"auto, (max-width: 1364px) 100vw, 1364px\" \/><\/a><\/p>\n<p>Stay tuned over the next few weeks for some interesting applications of LiDAR data.<\/p>\n<p>C<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post covers the basics of LiDAR data and how very high resolution DEMs can be derived from LiDAR data. With an appropriate nod to The Bats, we&#8217;ll cover LiDAR data, which, while sort of luminous but not spherical, are certainly tiny and numerous. \u00a0Thousands is a HUGE underestimate.\u00a0 LiDAR is a form of remote [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-1164","post","type-post","status-publish","format-standard","hentry","category-interesting-problems"],"_links":{"self":[{"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts\/1164","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/comments?post=1164"}],"version-history":[{"count":1,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts\/1164\/revisions"}],"predecessor-version":[{"id":4014,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts\/1164\/revisions\/4014"}],"wp:attachment":[{"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/media?parent=1164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/categories?post=1164"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/tags?post=1164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}