geoutils.Vector.create_mask

geoutils.Vector.create_mask#

Vector.create_mask(ref=None, all_touched=False, crs=None, res=None, bounds=None, shape=None, grid_coords=None, points=None, *, as_array=False, chunksizes=None, mp_config=None, dask=False)#

Create a raster or point cloud mask from the vector features.

Overloads:
  • self, ref (RasterLike | PointCloudLike | None), all_touched (bool), crs (CRS | None), res (float | tuple[float, float] | None), bounds (tuple[float, float, float, float] | None), shape (tuple[int, int] | None), grid_coords (tuple[NDArrayNum, NDArrayNum] | None), points (tuple[NDArrayNum, NDArrayNum] | None), as_array (Literal[False]), chunksizes (tuple[int, int] | None), mp_config (MultiprocConfig | None), dask (bool) → RasterType | PointCloudLike

  • self, ref (RasterLike | PointCloudLike | None), all_touched (bool), crs (CRS | None), res (float | tuple[float, float] | None), bounds (tuple[float, float, float, float] | None), shape (tuple[int, int] | None), grid_coords (tuple[NDArrayNum, NDArrayNum] | None), points (tuple[NDArrayNum, NDArrayNum] | None), as_array (Literal[True]), chunksizes (tuple[int, int] | None), mp_config (MultiprocConfig | None), dask (bool) → NDArrayBool