build_terrain_raster(pc: PointCloud, cell_size, bounds=None, window_size=3, radius=0, ground_only=True) Raster[source]

Rasterize a point cloud into a Raster object.

Parameters:
cell_size : float

The size of the raster cells in meters.

bounds : Bounds

The bounds of the area to rasterize (default None, uses the bounds of the point cloud).

window_size : int

The size of the window for the interpolation (default 3).

radius : float

The radius of the search for the interpolation (default 0).

ground_only : bool

Whether to only use ground points for the rasterization (default True).

Returns:

A Raster object representing the rasterized point cloud.

Return type:

Raster