This tool can be used to create a rectangular vector grid. The extent of the rectangular grid is based on the extent of an input base raster (base
). The user may also specify the origin of the grid (xorig
and yorig
, defaults are 0.0) and the grid cell width and height (width
and height
).
rectangular_grid_from_vector_base, hexagonal_grid_from_raster
def rectangular_grid_from_raster_base(self, base: Raster, width: float, height: float, x_origin: float = 0.0, y_origin: float = 0.0) -> Vector: ...