pygeoops.create_grid3#
- pygeoops.create_grid3(total_bounds: tuple[float, float, float, float], width: float, height: float) ndarray[tuple[Any, ...], dtype[Polygon]]#
Creates a grid with tiles of the width and height specified.
- Parameters:
total_bounds (Tuple[float, float, float, float]) – bounds of the grid to be created.
width (float) – width of the tiles.
height (float) – height of the tiles.
number_decimals (int, optional) – the number of decimals the coordinates of the grid will have. Defaults to None, so no rounding.
- Returns:
ndarray with tiles.
- Return type:
NDArray[Polygon]