Commit 1371ec54 authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

feature style

parent c482a3b1
...@@ -69,7 +69,7 @@ def rasterWkt(wkt, inputfile, outputfile): ...@@ -69,7 +69,7 @@ def rasterWkt(wkt, inputfile, outputfile):
feature.SetStyleString("PEN(c:#FF0000,w:5px);") feature.SetStyleString("PEN(c:#FF0000,w:5px);")
layer.CreateFeature(feature) layer.CreateFeature(feature)
gdal.RasterizeLayer(output, [1], layer, burn_values=[1]) gdal.RasterizeLayer(output, [2], layer, burn_values=[1])
feature = None feature = None
data_source = None data_source = None
output = 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