create_rectangular_spatial_grid_buckets#
- rojak.core.geometric.create_rectangular_spatial_grid_buckets(domain, step_size)[source]#
Tile a rectangular spatial domain into a regular grid of polygons
- Parameters:
domain (SpatialDomain) – Rectangular spatial domain to tile
step_size (float) – Approximate width/height of each grid cell, in degrees
- Returns:
List of rectangular polygons tiling
domain- Return type:
list[Polygon]