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

wkt raster

parent 50c0bef8
......@@ -108,6 +108,7 @@ def rasterWkt(wkt, inputfile, outputfile):
geometry = ogr.CreateGeometryFromWkt(wkt)
feature = ogr.Feature(layer.GetLayerDefn())
print("features")
feature.SetStyleString("PEN(c:#FF0000,w:5px);")
feature.SetGeometry(geometry)
layer.CreateFeature(feature)
......
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