Skip to content

Commit 2e7dae6

Browse files
committed
Add dask, cupy, and dask+cupy backends for polygonize, update README
Polygonize now supports all four backends. The cupy and dask+cupy backends use a hybrid GPU/CPU approach: GPU arrays are transferred to CPU for boundary tracing, which is inherently sequential. The dask backend chunks independently, merging cross-boundary polygons.
1 parent 52f9fb5 commit 2e7dae6

3 files changed

Lines changed: 595 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ In the GIS world, rasters are used for representing continuous phenomena (e.g. e
212212

213213
| Name | Description | NumPy xr.DataArray | Dask xr.DataArray | CuPy GPU xr.DataArray | Dask GPU xr.DataArray |
214214
|:-----|:------------|:------------------:|:-----------------:|:---------------------:|:---------------------:|
215-
| [Polygonize](xrspatial/experimental/polygonize.py) | Converts contiguous regions of equal value into vector polygons | ✅️ | | | |
215+
| [Polygonize](xrspatial/experimental/polygonize.py) | Converts contiguous regions of equal value into vector polygons | ✅️ | ✅️ | ✅️ | ✅️ |
216216

217217
--------
218218

0 commit comments

Comments
 (0)