ensure your numpy array is np.uint8/ubyte so rasterio doesnt raise the TypeError: invalid dtype: 'bool' exception; and; pass the NBITS=1 ...
確定! 回上一頁