记录使用python读取tiff文件所用的库
1、gdal
from osgeo import gdal
ds = gdal.Open(path)
2、rasterio
import rasterio
ds = rasterio.open(path)
3、tifffile
import tifffile
tif = tifffile.imread(path
记录使用python读取tiff文件所用的库
1、gdal
from osgeo import gdal
ds = gdal.Open(path)
2、rasterio
import rasterio
ds = rasterio.open(path)
3、tifffile
import tifffile
tif = tifffile.imread(path