@@ -637,7 +637,6 @@ def tile( # type: ignore
637637 tilesize : int = 256 ,
638638 indexes : Optional [Indexes ] = None ,
639639 expression : Optional [str ] = None ,
640- force_binary_mask : bool = True ,
641640 out_dtype : Optional [Union [str , numpy .dtype ]] = None ,
642641 resampling_method : RIOResampling = "nearest" ,
643642 unscale : bool = False ,
@@ -654,7 +653,6 @@ def tile( # type: ignore
654653 tilesize (int, optional): Output image size. Defaults to `256`.
655654 indexes (int or sequence of int, optional): Band indexes.
656655 expression (str, optional): rio-tiler expression (e.g. b1/b2+b3).
657- force_binary_mask (bool, optional): Cast returned mask to binary values (0 or 255). Defaults to `True`.
658656 resampling_method (RIOResampling, optional): RasterIO resampling algorithm. Defaults to `nearest`.
659657 unscale (bool, optional): Apply 'scales' and 'offsets' on output data value. Defaults to `False`.
660658 post_process (callable, optional): Function to apply on output data and mask values.
@@ -675,7 +673,6 @@ def tile( # type: ignore
675673 max_size = None ,
676674 indexes = indexes ,
677675 expression = expression ,
678- force_binary_mask = force_binary_mask ,
679676 out_dtype = out_dtype ,
680677 resampling_method = resampling_method ,
681678 unscale = unscale ,
@@ -690,7 +687,6 @@ def part( # type: ignore
690687 max_size : Optional [int ] = None ,
691688 height : Optional [int ] = None ,
692689 width : Optional [int ] = None ,
693- force_binary_mask : bool = True ,
694690 out_dtype : Optional [Union [str , numpy .dtype ]] = None ,
695691 resampling_method : RIOResampling = "nearest" ,
696692 unscale : bool = False ,
@@ -707,7 +703,6 @@ def part( # type: ignore
707703 max_size (int, optional): Limit the size of the longest dimension of the dataset read, respecting bounds X/Y aspect ratio.
708704 height (int, optional): Output height of the array.
709705 width (int, optional): Output width of the array.
710- force_binary_mask (bool, optional): Cast returned mask to binary values (0 or 255). Defaults to `True`.
711706 resampling_method (RIOResampling, optional): RasterIO resampling algorithm. Defaults to `nearest`.
712707 unscale (bool, optional): Apply 'scales' and 'offsets' on output data value. Defaults to `False`.
713708 post_process (callable, optional): Function to apply on output data and mask values.
@@ -733,7 +728,6 @@ def part( # type: ignore
733728 width = width ,
734729 height = height ,
735730 indexes = indexes ,
736- force_binary_mask = force_binary_mask ,
737731 out_dtype = out_dtype ,
738732 resampling_method = resampling_method ,
739733 unscale = unscale ,
@@ -804,7 +798,6 @@ def feature( # type: ignore
804798 max_size : Optional [int ] = None ,
805799 height : Optional [int ] = None ,
806800 width : Optional [int ] = None ,
807- force_binary_mask : bool = True ,
808801 out_dtype : Optional [Union [str , numpy .dtype ]] = None ,
809802 resampling_method : RIOResampling = "nearest" ,
810803 unscale : bool = False ,
@@ -824,7 +817,6 @@ def feature( # type: ignore
824817 max_size = max_size ,
825818 height = height ,
826819 width = width ,
827- force_binary_mask = force_binary_mask ,
828820 out_dtype = out_dtype ,
829821 resampling_method = resampling_method ,
830822 unscale = unscale ,
0 commit comments