gdal生成tif2

# gtiffDriver = gdal.GetDriverByName('GTiff')
# if gtiffDriver is None:
#     raise ValueError("Can't find GeoTiff Driver")
# gtiffDriver.CreateCopy(outputFileName,
#                        gdal_array.OpenArray(grid, prototype_ds=templateTifFileName)
#                        )

转载自:https://blog.csdn.net/herogui/article/details/79810066

You may also like...