Skip to content

Commit d4b0efe

Browse files
authored
polygonize function on cpu for numpy-backed xarray DataArrays (#585)
* polygonize function on cpu for numpy-backed xarray DataArrays * Make spatialpandas an optional dependency * Changes following review
1 parent 880e38d commit d4b0efe

File tree

4 files changed

+816
-2
lines changed

4 files changed

+816
-2
lines changed

setup.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
'pyct <=0.4.6',
2727
'param >=1.6.1',
2828
'distributed >=2021.03.0',
29-
'spatialpandas',
3029
]
3130

3231
examples = [
@@ -40,7 +39,13 @@
4039
],
4140
'examples': examples,
4241
'optional': [
43-
'rtxpy',
42+
# Optional for polygonize return types.
43+
'awkward>=1.4',
44+
'geopandas',
45+
'shapely',
46+
'spatialpandas',
47+
# Optional for gpu_rtx functions.
48+
"rtxpy",
4449
],
4550
}
4651

xrspatial/experimental/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from .polygonize import polygonize # noqa

0 commit comments

Comments
 (0)