geoutils.Raster.from_pointcloud_regular

geoutils.Raster.from_pointcloud_regular#

classmethod Raster.from_pointcloud_regular(pointcloud, grid_coords=None, transform=None, shape=None, nodata=None, data_column_name='b1', area_or_point='Point')[source]#

Create a raster from a point cloud with coordinates on a regular grid.

To inform on what grid to create the raster, either pass a tuple of X/Y grid coordinates, or the expected transform and shape. All point cloud coordinates must fall exactly at one of the coordinates of this grid.

Parameters:
Return type:

TypeVar(RasterType, bound= Raster)