Skip to content

Commit 5ee7776

Browse files
committed
Add dask backends for rasterize() (#995)
Tile-based parallel rasterization via dask.delayed. New `chunks` parameter splits the output raster into tiles, rasterizes each independently, and assembles with da.block. Polygons are rasterized per-tile (scanline fill is tile-exact). Lines and points are pre-rasterized at full-raster scale then distributed to tiles to avoid Bresenham boundary artifacts. Also adds dask-geopandas input support (.compute() eagerly) and cuspatial optional import stub.
1 parent b6677d8 commit 5ee7776

File tree

3 files changed

+748
-2
lines changed

3 files changed

+748
-2
lines changed

setup.cfg

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ optional =
5656
spatialpandas
5757
# Optional for gpu_rtx functions. Also requires cupy.
5858
rtxpy
59+
dask =
60+
dask[array]
61+
dask-geopandas
62+
gpu =
63+
cupy
64+
cuspatial
5965
tests =
6066
flake8
6167
isort

0 commit comments

Comments
 (0)