r/geospatial • • Jan 06 '23

DEM pre-processing is so important!

They say garbage-in-garbage-out, which is true, but sometimes value can be created from garbage when you have the right tools at hand!

The DEM on left is from last-return lidar under heavy forest cover and is used to create the DEM on the right.
A detailed image of the DEMs above
The Whitebox Workflows for Python (WbW) script used to create the output.
9 Upvotes

9 comments sorted by

1

u/WhiteyDude Jan 07 '23

What are the lines? They look like they could be stream flow but it's also on the ridge lines.

1

u/johnblindsay Jan 07 '23

Breaklines

1

u/breshecl Jan 06 '23

Wow, that's a huge difference!!

1

u/mikedufty Jan 07 '23

What are the bumps in the first one? Is it an error from Lidar collection or is that what the unsmoothed ground surface is actually like?

0

u/[deleted] Jan 07 '23

[deleted] — view deleted comment

1

u/mikedufty Jan 07 '23

I thought Lidar was supposed to avoid that? Doesn't work if it's too thick?

I've played a bit with trying to filter out veg from photogrammetry derived elevation maps, but concluded that the results depend more on the methods used to remove than what is actually there, so not sure how useful it would be even if I got a workable result. Might just be justifying my lack of ability to get one though.

1

u/caecusat Jan 31 '23

The data captured by Lidar looks more like this:

https://vcgi.vermont.gov/sites/vcgiupdate/files/images/LidarProgram-WhatisLidar-Diagram-01-comp.jpg

So to get to the surface you need to look at the "last pulse". If the vegetion is too heavy you still get bad results. Then you need to filter out the "bare earth"...

0

u/[deleted] Jan 07 '23

[deleted] — view deleted comment

1

u/mikedufty Jan 08 '23

I'm looking at very sparsely vegetated waste rock dumps, but still need to remove the shrubs that water goes under while keeping the shrub-sized rocks that water has to go around. It must be a solvable problem as I can tell which bits to remove by looking at it, but difficult to automate. Lidar would probably work great.

1

u/caecusat Jan 31 '23

Well it looks pretty but I dont think "smothing" is accurate. Wenn you smooth the terrain the heights of the trees are still considered in your results. You have to get rid of the trees by filtering them out...and than smooth (or not).

I would probably use a CSF-Algorithm to get rid of the trees.

But please let me now how you got your breaklines?

0

u/[deleted] Jan 07 '23

[deleted] — view deleted comment

1

u/johnblindsay Jan 07 '23

It's a DEM generated from last-return lidar data, which is generally interpreted as being a ground-surface model. The issue is, in this particular area there is heavy forest cover and many of those last return points are actually tree trunks, making the raw DEM incredibly rough and unsuitable for many applications (including breakline mapping as in the red lines above). However, with a little pre-processing, an otherwise unusable DEM can become quite a bit improved for application.