Downsample Grids by Averaging

 

Average to new projection Example from El Hiero, Canary Islands, Spain

Figure 1.  2.5 m UTM, created from lidar point cloud.  This is a DSM, taking the highest return in each pixel.  There are some data gaps in the point cloud.  This is relatively low resolution lidar, and 2.5 m might be the best resolution

 

Difference map between two 1" resamplings of the 2.5 m DEM.  Each point in the 2.5 m UTM DSM was mapped to
the correct pixel in the 1x1" grid, one using the pixel-is-point (which matches Copernicus, ASTER, and SRTM), and
the other pixel-is-area (which matches ALOS).  Because there is only 1/4 overall in the pixel areas between the two
mappings, the DEMs are not the same.  In order to create the difference map, one of the DEMs has to use bilinear
interpolation to get the corresponding value in the other.  The difference map reflects slope and aspect; in steep areas, the 1/2 pixel
offsets have significantly different elevations.

 

 

Point density for the number of 2.5 m pixels that went into each 1" pixel.  Except along the edges and data voids in the lidar data, each pixel in the 1" DEM has about 135 points in the 2.5 m DSM. The differences come from voids (mostly water), and the rotation of the UTM grid compared to the geographic grid.

 

 

Four DEMs of El Hiero, all at 1"x1".

Lidar DSM created directly from the point cloud; Copernicus, and two arc second grids created from a 2.5 m UTM DEM created from the point cloud

 

 

Table 1.  Moment report for the 4 DEMs above

DEMresample 1sec pixel is area resample 1sec pixel is point cop 1"lidar dsm 1"
Avg Grid Space29.08 29.0829.08 29.08
Elevation n320257 320254318016 317987
Elevation mean583.83 583.82587.43 593.33
Elevation avg dev333.82 333.84331.65 332.45
Elevation std dev386.78 386.81384.21 385.27
Elevation skewness0.2555 0.25530.2508 0.251
Elevation kurtosis-1.0878 -1.0876-1.0884 -1.0876
Elevation min-0.7 -0.6-1.06 -0.35
Elevation max1500.26 1499.531498.32 1500.51
Elevation median544.44 544.39549.51 554.71
Slope n315769 315766313649 313544
Slope mean35.7 35.6134.47 35.53
Slope avg dev21.24 21.219.99 20.95
Slope std dev29.81 29.7527.06 29.28
Slope skewness2.3552 2.34971.8368 2.2011
Slope kurtosis10.4899 10.23964.8401 7.7311
Slope min0.06 0.070 0.07
Slope max555.38 533.81280.74 386.02
Slope median27.29 27.2126.9 27.38

 

Table 2.  Slope moments for El Hiero.  The 2.5 m and 5 m UTM DEMs have significantly different slopes than the 1" grids.  The lidar DSM is slightly different than the one used in Table 1 (masking the coast, and whether to take the highest point in the pixel, or the 95th percentile to deal with potential noise)

DEM DSM El Hiero 2.5m utm dtm 5m mean ground pts lidar dsm 1" lidar dtm 1" alos 1" aster 1" cop 1" nasadem 1" srtm 1"
Slope n 2827337 2749974 315727 315727 315816 309574 313649 313647 313647
Slope mean 53.02 40.55 35.46 35.34 34.97 34.42 34.37 33.55 33.64
Slope avg dev 39.03 25.71 20.91 21.29 20.63 20.07 19.93 19.55 19.58
Slope std dev 103.75 40.95 29.14 29.58 28.34 27.71 26.96 27.48 27.79
Slope skewness 51.5823 5.7578 2.1575 2.1426 2.0077 1.973 1.8291 2.3144 2.4278
Slope kurtosis 4704.18 182.213 7.2808 7.0237 6.0775 5.5211 4.7604 9.0524 10.2231
Slope min 0 0 0.02 0.01 0 0 0 0 0
Slope max 17736.2 4099.6 349.56 322.81 342.25 370.74 278.11 417.85 429.05
Slope median 35.56 30.95 27.3 26.75 26.83 26.64 26.8 25.83 25.93