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 vector (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_raster_base, hexagonal_grid_from_vector
def rectangular_grid_from_vector_base(self, base: Vector, width: float, height: float, x_origin: float = 0.0, y_origin: float = 0.0) -> Vector: ...