gdal生成tiff

dst_ds = gdal.GetDriverByName(‘GTiff’).Create(“hello.tif”, 512, 512, 1, gdal.GDT_CFloat32)ndst_ds.SetGeoTransform([444720, 30, 0, 3751320, 0, -30])nraster = numpy.zeros((512, 512), dtype=numpy.float32…