Commit 33ad86ea authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

rgb l2

parent 93efbfa0
......@@ -68,10 +68,10 @@ def rasterWkt(wkt, inputfile, outputfile):
feature.SetGeometry(geometry)
feature.SetStyleString("PEN(c:#FFFF00,w:5px);")
layer.CreateFeature(feature)
feature = None
gdal.RasterizeLayer(output, [1], layer, burn_values=[0])
feature = None
data_source = None
output = None
......
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