gdal.Warp('tmp.tif',
tifFile,
cutlineDSName=vecFile,
format='GTiff',
cutlineWhere="{}='{}'".format(filterFiled,fieldValue),
cropToCutline=True,
copyMetadata=True,
dstNodata=np.nan,
options=['COMPRESS=LZW'])
GDAL裁剪栅格影像
最新推荐文章于 2024-04-16 23:57:51 发布