I am working on the pre and post lidar earthquake data from Kumamoto, Japan. I would like to generate a DTM with the grid_terrain(pre_online, res = 1, algorithm = knnidw(k = 10L, p = 0.5))
function in R Studio. When I plot the data with plot_dtm3d()
I get a weird looking one. Is someone familiar with this problem?
The data is available at https://portal.opentopography.org/lidarDataset?jobId=pc1620409032095.
The plot looks like this and it should be a 3D terrain model.
pre_online
#> class : LAS (v1.2 format 1)
#> memory : 633 Mb
#> extent : -12000, -9000.001, -21500, -19500 (xmin, xmax, ymin, ymax)
#> coord. ref. : JGD2000 / Japan Plane Rectangular CS II (with axis order normalized for visualization)
#> area : 6 km²
#> points : 20.74 million
#> points density : 3.46 points/m²
print(pre_online)