LasOnRasterMapper¶
LasOnRasterMapper creates a raster with the elevation of the highest, or lowest, point of each cell, on the grid of an elevation model or at another resolution. With the highest points it is the quickest surface model, of the canopy and the roofs, without interpolation: the cells without points stay empty.
Details¶
Each cell gets the elevation of its highest point, or lowest, but never less than the elevation model under the point: a point under the ground, as an error of the survey, takes the elevation of the ground. The cells without points stay empty: choose a resolution with a few points per cell, or fill the holes afterwards.
With the highest points, the raster is a model of the surface, of the canopy and the roofs; minus the elevation model, a model of their height. The elevation model can be written also on the grid of the raster, resampled with the value of the nearest cell, for that difference.
Parameters¶
Creates a raster with the highest, or lowest, elevation of the lidar points in each cell: a surface model without interpolation.
Toolbox folder: Lesto › raster
Status: Draft
Keywords: raster, lidar
Authors: Andrea Antonello, Silvia Franceschi
Class: org.hortonmachine.lesto.modules.raster.LasOnRasterMapper
Inputs
Parameter |
Type |
Unit |
Default |
Description |
|---|---|---|---|---|
|
LAS file |
The lidar data: a las file, the index file of a folder of las files created by LasIndexer or a las database. |
||
|
raster file |
The elevation model of the ground: it gives the area and the grid, and the lowest value of the cells. |
||
|
Double |
The x resolution of the raster. If not supplied, the one of the elevation model is used. |
||
|
Double |
The y resolution of the raster. If not supplied, the one of the elevation model is used. |
||
|
boolean |
|
If true, the highest point of each cell is mapped, if false the lowest. |
Outputs
Parameter |
Type |
Unit |
Description |
|---|---|---|---|
|
output file |
The raster of the elevation of the points. |
|
|
output file |
The optional output of the elevation model on the grid of the raster, to compare them cell by cell. |
Example¶
The highest point of each cell of 0.5 m of the sample plot:
import org.hortonmachine.lesto.modules.raster.LasOnRasterMapper
// the folder with the lidar survey: change it to yours
var folder = "/data/flanginec/"
// the surface of the highest point of each cell of the plot elevation model
var mapper = new LasOnRasterMapper()
mapper.inLas = folder + "uni_bz_plot777.las"
mapper.inDtm = folder + "dtm_777.tif"
mapper.doMax = true
mapper.outRaster = folder + "dsm_max.tif"
mapper.process()
The surface of the highest points minus the elevation model: the height of the crowns, up to about 20 m, with single empty cells among them where no point fell.¶