{"id":62,"date":"2020-03-29T23:14:32","date_gmt":"2020-03-30T03:14:32","guid":{"rendered":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/?post_type=chapter&#038;p=62"},"modified":"2020-03-29T23:42:14","modified_gmt":"2020-03-30T03:42:14","slug":"chapter-2-2-digital-surface-model","status":"publish","type":"chapter","link":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/chapter\/chapter-2-2-digital-surface-model\/","title":{"raw":"Chapter 2.2 - Digital Elevation Models","rendered":"Chapter 2.2 &#8211; Digital Elevation Models"},"content":{"raw":"<h1>Overview<\/h1>\r\nOnce the 3D dense point cloud is generated, the next step is to create an accurate <strong>digital elevation model (DEM)<\/strong>, digital surface model (DSM) or digital terrain model (DTM).\r\n\r\nBefore proceeding, be sure to save the project.\r\n<h2>Building a DEM<\/h2>\r\nA digital elevation model is a raster image (pixels, arranged in rows and columns) with each pixel representing an elevation. If the model represents elevations of the ground along with heights of structures such as buildings and trees, it can be referred to as a <strong>digital surface model (DSM)<\/strong>. If the elevations only represent the ground or the bare earth, the model is referred to as a <strong>digital terrain model (DTM)<\/strong>. The general term describing any type of raster elevation surface is <strong>digital elevation model (DEM)<\/strong>.\r\n\r\nFrom the\u00a0<strong>Workflow<\/strong> menu, select\u00a0<strong>Build DEM...<\/strong>. The dialogue box settings are described below.\r\n\r\n<strong>Projection Type<\/strong> can be set according to other data sets that you'd like this DEM to geographically coincide with.\r\n\r\n<strong>Source data<\/strong> allows a choice between using the\u00a0<strong>Sparse Cloud<\/strong>,\u00a0<strong>Depth Maps<\/strong>, or <b>Dense Cloud <\/b>as the source of elevation data. The\u00a0<strong>Sparse Cloud<\/strong> should never be used as it is the least accurate representation of elevation. The main difference between <strong>Depth maps<\/strong> (if available) or <b>Dense Cloud<\/b> is that the latter is the truest representation of the surface but may have holes or gaps where elevation data may be missing due to sparse alignment between photos. The former represents a more continuous surface (assuming that interpolation or extrapolation was enabled when building the mesh), keeping in mind that the interpolated elevations are algorithmic guesses based on surrounding known elevations.\r\n\r\n<strong>Interpolation<\/strong> can be <strong>Enabled (default)\u00a0<\/strong>to fill holes or gaps in elevations,\u00a0<strong>Disabled<\/strong> or an\u00a0<strong>Extrapolation<\/strong> can be applied instead.\r\n\r\n<strong>Point classes<\/strong> can be selected (if they have been previously created through classification) or\u00a0<strong>All (default)<\/strong> classes will be used.\r\n\r\n<strong>Region<\/strong> settings can be adjusted if necessary, affecting the output\u00a0<strong>Resolution<\/strong> and\u00a0<strong>Total size<\/strong> of the DEM.\r\n\r\nFig. 16 below shows the suggested DEM settings for this project and don't worry if the <strong>Region<\/strong> values are slightly different.\r\n\r\n[caption id=\"attachment_63\" align=\"aligncenter\" width=\"479\"]<img class=\" wp-image-63\" src=\"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig16-218x300.jpg\" alt=\"Screen shot from MetaShape showing default settings in the Build DEM dialogue box including projection set to geographic and EPSG 6653, source data is dense cloud, interpolation is enabled, \" width=\"479\" height=\"659\" \/> Fig. 16 Build DEM parameters.[\/caption]\r\n\r\nTo view the DEM, double click it in the <strong>Workspace\u00a0<\/strong>pane which brings up a new\u00a0<strong>Ortho<\/strong> tab in the main view.\r\n\r\n[caption id=\"attachment_64\" align=\"aligncenter\" width=\"645\"]<img class=\" wp-image-64\" src=\"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig17-300x268.jpg\" alt=\"Screen shot from MetaShape showing the results of the generation of a DEM showing elevations between -3.29m to 30.2m\" width=\"645\" height=\"576\" \/> Fig. 17 Digital Surface Model (DSM) for Band 1 (Blue).[\/caption]\r\n\r\nNote that the pixel resolution of the DSM in Fig. 17 is approximately 12.3cm. Also notice the clear demarcation of the lower and higher areas of vegetation.\r\n\r\nThe alternate type of elevations surface that can be created is a digital terrain model (DTM). A DTM shows a statistical approximation of the ground or bare earth surface under vegetation and with all surface features (i.e. buildings and trees) filtered out. To build a DTM, the first step is to classify the dense point cloud.\r\n\r\nFrom the <strong>Tools<\/strong> menu, select <strong>Dense Cloud<\/strong> and then select <strong>Classify Ground Points...<\/strong>.\r\n\r\nConfigure the parameters of the Classify Ground Points window as per Fig. 18 in order to generate three classes of points; Created (Never Classified), Ground and Low Point (Noise).\r\n\r\n[caption id=\"attachment_65\" align=\"aligncenter\" width=\"447\"]<img class=\"wp-image-65\" src=\"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig18-300x234.jpg\" alt=\"Screen shot of MetaShape showing the Classify Ground Points dialogue box with max angle set to three degrees, max distance set to 0.01m and cell size set to 40\" width=\"447\" height=\"349\" \/> Fig. 18 Classify Ground Points parameters.[\/caption]\r\n\r\nThe next step is repeat the creation of the DEM, but this time specifying which class (Ground) to generate the elevation model with (Fig. 19).\r\n\r\n[caption id=\"attachment_66\" align=\"aligncenter\" width=\"622\"]<img class=\" wp-image-66\" src=\"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig19-300x259.jpg\" alt=\"Screen shot of MetaShape showing the resulting digital terrain model with elevations ranging between -2.5 to 4.4m\" width=\"622\" height=\"537\" \/> Fig. 19 Results of the classification of the dense point cloud showing the digital terrain model (DTM).[\/caption]\r\n\r\nNow that an accurate raster representation of the surface is generated, it can be used to create an orthophoto mosaic as described in the next Chapter.","rendered":"<h1>Overview<\/h1>\n<p>Once the 3D dense point cloud is generated, the next step is to create an accurate <strong>digital elevation model (DEM)<\/strong>, digital surface model (DSM) or digital terrain model (DTM).<\/p>\n<p>Before proceeding, be sure to save the project.<\/p>\n<h2>Building a DEM<\/h2>\n<p>A digital elevation model is a raster image (pixels, arranged in rows and columns) with each pixel representing an elevation. If the model represents elevations of the ground along with heights of structures such as buildings and trees, it can be referred to as a <strong>digital surface model (DSM)<\/strong>. If the elevations only represent the ground or the bare earth, the model is referred to as a <strong>digital terrain model (DTM)<\/strong>. The general term describing any type of raster elevation surface is <strong>digital elevation model (DEM)<\/strong>.<\/p>\n<p>From the\u00a0<strong>Workflow<\/strong> menu, select\u00a0<strong>Build DEM&#8230;<\/strong>. The dialogue box settings are described below.<\/p>\n<p><strong>Projection Type<\/strong> can be set according to other data sets that you&#8217;d like this DEM to geographically coincide with.<\/p>\n<p><strong>Source data<\/strong> allows a choice between using the\u00a0<strong>Sparse Cloud<\/strong>,\u00a0<strong>Depth Maps<\/strong>, or <b>Dense Cloud <\/b>as the source of elevation data. The\u00a0<strong>Sparse Cloud<\/strong> should never be used as it is the least accurate representation of elevation. The main difference between <strong>Depth maps<\/strong> (if available) or <b>Dense Cloud<\/b> is that the latter is the truest representation of the surface but may have holes or gaps where elevation data may be missing due to sparse alignment between photos. The former represents a more continuous surface (assuming that interpolation or extrapolation was enabled when building the mesh), keeping in mind that the interpolated elevations are algorithmic guesses based on surrounding known elevations.<\/p>\n<p><strong>Interpolation<\/strong> can be <strong>Enabled (default)\u00a0<\/strong>to fill holes or gaps in elevations,\u00a0<strong>Disabled<\/strong> or an\u00a0<strong>Extrapolation<\/strong> can be applied instead.<\/p>\n<p><strong>Point classes<\/strong> can be selected (if they have been previously created through classification) or\u00a0<strong>All (default)<\/strong> classes will be used.<\/p>\n<p><strong>Region<\/strong> settings can be adjusted if necessary, affecting the output\u00a0<strong>Resolution<\/strong> and\u00a0<strong>Total size<\/strong> of the DEM.<\/p>\n<p>Fig. 16 below shows the suggested DEM settings for this project and don&#8217;t worry if the <strong>Region<\/strong> values are slightly different.<\/p>\n<figure id=\"attachment_63\" aria-describedby=\"caption-attachment-63\" style=\"width: 479px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-63\" src=\"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig16-218x300.jpg\" alt=\"Screen shot from MetaShape showing default settings in the Build DEM dialogue box including projection set to geographic and EPSG 6653, source data is dense cloud, interpolation is enabled,\" width=\"479\" height=\"659\" srcset=\"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig16-218x300.jpg 218w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig16-65x90.jpg 65w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig16-225x310.jpg 225w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig16-350x483.jpg 350w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig16.jpg 454w\" sizes=\"auto, (max-width: 479px) 100vw, 479px\" \/><figcaption id=\"caption-attachment-63\" class=\"wp-caption-text\">Fig. 16 Build DEM parameters.<\/figcaption><\/figure>\n<p>To view the DEM, double click it in the <strong>Workspace\u00a0<\/strong>pane which brings up a new\u00a0<strong>Ortho<\/strong> tab in the main view.<\/p>\n<figure id=\"attachment_64\" aria-describedby=\"caption-attachment-64\" style=\"width: 645px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-64\" src=\"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig17-300x268.jpg\" alt=\"Screen shot from MetaShape showing the results of the generation of a DEM showing elevations between -3.29m to 30.2m\" width=\"645\" height=\"576\" srcset=\"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig17-300x268.jpg 300w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig17-1024x916.jpg 1024w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig17-768x687.jpg 768w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig17-65x58.jpg 65w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig17-225x201.jpg 225w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig17-350x313.jpg 350w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig17.jpg 1115w\" sizes=\"auto, (max-width: 645px) 100vw, 645px\" \/><figcaption id=\"caption-attachment-64\" class=\"wp-caption-text\">Fig. 17 Digital Surface Model (DSM) for Band 1 (Blue).<\/figcaption><\/figure>\n<p>Note that the pixel resolution of the DSM in Fig. 17 is approximately 12.3cm. Also notice the clear demarcation of the lower and higher areas of vegetation.<\/p>\n<p>The alternate type of elevations surface that can be created is a digital terrain model (DTM). A DTM shows a statistical approximation of the ground or bare earth surface under vegetation and with all surface features (i.e. buildings and trees) filtered out. To build a DTM, the first step is to classify the dense point cloud.<\/p>\n<p>From the <strong>Tools<\/strong> menu, select <strong>Dense Cloud<\/strong> and then select <strong>Classify Ground Points&#8230;<\/strong>.<\/p>\n<p>Configure the parameters of the Classify Ground Points window as per Fig. 18 in order to generate three classes of points; Created (Never Classified), Ground and Low Point (Noise).<\/p>\n<figure id=\"attachment_65\" aria-describedby=\"caption-attachment-65\" style=\"width: 447px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-65\" src=\"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig18-300x234.jpg\" alt=\"Screen shot of MetaShape showing the Classify Ground Points dialogue box with max angle set to three degrees, max distance set to 0.01m and cell size set to 40\" width=\"447\" height=\"349\" srcset=\"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig18-300x234.jpg 300w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig18-65x51.jpg 65w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig18-225x176.jpg 225w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig18-350x273.jpg 350w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig18.jpg 419w\" sizes=\"auto, (max-width: 447px) 100vw, 447px\" \/><figcaption id=\"caption-attachment-65\" class=\"wp-caption-text\">Fig. 18 Classify Ground Points parameters.<\/figcaption><\/figure>\n<p>The next step is repeat the creation of the DEM, but this time specifying which class (Ground) to generate the elevation model with (Fig. 19).<\/p>\n<figure id=\"attachment_66\" aria-describedby=\"caption-attachment-66\" style=\"width: 622px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-66\" src=\"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig19-300x259.jpg\" alt=\"Screen shot of MetaShape showing the resulting digital terrain model with elevations ranging between -2.5 to 4.4m\" width=\"622\" height=\"537\" srcset=\"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig19-300x259.jpg 300w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig19-1024x882.jpg 1024w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig19-768x662.jpg 768w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig19-65x56.jpg 65w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig19-225x194.jpg 225w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig19-350x302.jpg 350w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig19.jpg 1157w\" sizes=\"auto, (max-width: 622px) 100vw, 622px\" \/><figcaption id=\"caption-attachment-66\" class=\"wp-caption-text\">Fig. 19 Results of the classification of the dense point cloud showing the digital terrain model (DTM).<\/figcaption><\/figure>\n<p>Now that an accurate raster representation of the surface is generated, it can be used to create an orthophoto mosaic as described in the next Chapter.<\/p>\n","protected":false},"author":365,"menu_order":2,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-62","chapter","type-chapter","status-publish","hentry"],"part":53,"_links":{"self":[{"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/pressbooks\/v2\/chapters\/62","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/wp\/v2\/users\/365"}],"version-history":[{"count":2,"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/pressbooks\/v2\/chapters\/62\/revisions"}],"predecessor-version":[{"id":68,"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/pressbooks\/v2\/chapters\/62\/revisions\/68"}],"part":[{"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/pressbooks\/v2\/parts\/53"}],"metadata":[{"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/pressbooks\/v2\/chapters\/62\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/wp\/v2\/media?parent=62"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/pressbooks\/v2\/chapter-type?post=62"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/wp\/v2\/contributor?post=62"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/wp\/v2\/license?post=62"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}