dtcc.PointCloud.rasterize(cell_size: float, bounds: Bounds | None = None, window_size: int = 3, radius: float = 0, ground_only: bool = True) Raster

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