This tool can be used to create a hexagonal vector grid. The extent of the hexagonal grid is based on the extent of an input vector base file (base
). The user must also specify the hexagonal cell width (width
) and whether the hexagonal orientation (orientation
) is horizontal
or vertical
. To use a raster base image instead of a vector, use the hexagonal_grid_from_raster_base tool.
hexagonal_grid_from_raster_base
def hexagonal_grid_from_vector_base(self, base: Vector, width: float, orientation: str = "h") -> Vector: ...