Commit a363eb09 authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

wkt raster

parent ba15fdac
......@@ -81,7 +81,7 @@ def rasterWkt(wkt, inputfile, outputfile):
print("driver")
driverTiff = gdal.GetDriverByName('GTiff')
output = driverTiff.Create(outputfile, cols, rows, inputImage.RasterCount(), gdal.GDT_Byte)
output = driverTiff.Create(outputfile, cols, rows, inputImage.RasterCount, gdal.GDT_Byte)
# polygonRaster = driverTiff.Create("polygonTmp.tif", cols, rows, 1, gdal.GDT_Byte)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment