Commit 671ebda7 authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

rgb l2

parent fca6470b
......@@ -60,7 +60,7 @@ def rasterWkt(wkt, inputfile, outputfile):
geometry = ogr.CreateGeometryFromWkt(wkt)
feature = ogr.Feature(layer.GetLayerDefn())
feature.SetGeometry(geometry)
feature.SetStyleString("PEN(c:#FF0000,w:5px)")
feature.SetStyleString("PEN(c:#FF0000,w:5px);")
layer.CreateFeature(feature)
gdal.RasterizeLayer(output, [1], layer, burn_values=[0])
......
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