Skip to content

Commit f2f4735

Browse files
committed
Addition of doc strings for strategy
1 parent 0e900b6 commit f2f4735

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

xvec/zonal.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,9 @@ def _zonal_stats_exactextract(
334334
``"quantile(q=0.20)"``)
335335
name : str, optional
336336
Name of the dimension that will hold the ``geometry``, by default "geometry"
337+
strategy : str, optional
338+
The strategy to use for the extraction, by default "feature-sequential"
339+
Use either "feature-sequential" and "raster-sequential".
337340
338341
Returns
339342
-------
@@ -460,6 +463,9 @@ def _agg_exactextract(
460463
If True, all pixels touched by geometries will be considered. If False, only
461464
pixels whose center is within the polygon or that are selected by
462465
Bresenham’s line algorithm will be considered.
466+
strategy : str, optional
467+
The strategy to use for the extraction, by default "feature-sequential"
468+
Use either "feature-sequential" and "raster-sequential".
463469
464470
Returns
465471
-------

0 commit comments

Comments
 (0)