Commit 5ee7776
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
3 files changed
+748
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
59 | 65 | | |
60 | 66 | | |
61 | 67 | | |
| |||
0 commit comments