Re: DEM
Posted: Thu Oct 19, 2017 6:56 pm
Ah, ah, I know perfectly what a DEM is ;) Or to be more precise I know it's a very misleading term as there's no clear convention (see https://en.wikipedia.org/wiki/Digital_elevation_model).
At least I did understand from the first post that you were not referring to a "DTM" (contrarily to what the 'gisresources.com' page states ;) ) as you wanted to make the ground points 'flat'. What was a bit unclear in your message was what you wanted to do with the vegetation (points).
If I understand well now, you actually want to 'subtract' the DTM from the DSM?
If yes then you have two options:
1) use the Rasterize tool: if there's enough ground points below your vegetation (i.e. a good lidar cloud with enough penetration) then you can simply rasterize the cloud and export the resulting grid as a cloud exporting the 'height range' scalar field: If you have both ground points and vegetation points in your cloud, then you'll get in this scalar field the difference between the two. You can then export scalar field as the Z coordinate: 2) if there's not enough ground points (i.e. there are holes in your ground cloud), then you'll have to fill them by triangulating the ground points first (e.g. with the Delaunay triangulation tool, or with the Rasterize tool once again, by using the 'Interpolate' mode for the 'fill empty celles' option). In the first case, you'll have a mesh that you'll need to convert to a dense cloud (Edit > Mesh > Sample points). You can then either merge the two clouds (filled DTM + vegetation) and use the method described above (1). Or alternatively use the 'Compute 2.5D Volume' tool that does the same but between two separate clouds (you can export the 'difference' raster directly)
At least I did understand from the first post that you were not referring to a "DTM" (contrarily to what the 'gisresources.com' page states ;) ) as you wanted to make the ground points 'flat'. What was a bit unclear in your message was what you wanted to do with the vegetation (points).
If I understand well now, you actually want to 'subtract' the DTM from the DSM?
If yes then you have two options:
1) use the Rasterize tool: if there's enough ground points below your vegetation (i.e. a good lidar cloud with enough penetration) then you can simply rasterize the cloud and export the resulting grid as a cloud exporting the 'height range' scalar field: If you have both ground points and vegetation points in your cloud, then you'll get in this scalar field the difference between the two. You can then export scalar field as the Z coordinate: 2) if there's not enough ground points (i.e. there are holes in your ground cloud), then you'll have to fill them by triangulating the ground points first (e.g. with the Delaunay triangulation tool, or with the Rasterize tool once again, by using the 'Interpolate' mode for the 'fill empty celles' option). In the first case, you'll have a mesh that you'll need to convert to a dense cloud (Edit > Mesh > Sample points). You can then either merge the two clouds (filled DTM + vegetation) and use the method described above (1). Or alternatively use the 'Compute 2.5D Volume' tool that does the same but between two separate clouds (you can export the 'difference' raster directly)