Commit 525e9b2a authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

wkt raster

parent 9fb7a5ce
...@@ -107,7 +107,7 @@ def rasterWkt(wkt, inputfile, outputfile): ...@@ -107,7 +107,7 @@ def rasterWkt(wkt, inputfile, outputfile):
layer = data_source.GetLayer() layer = data_source.GetLayer()
# layer = data_source.CreateLayer("wkt", srs, ogr.wkbPolygon) # layer = data_source.CreateLayer("wkt", srs, ogr.wkbPolygon)
# geometry = ogr.CreateGeometryFromWkt(wkt) # geometry = ogr.CreateGeometryFromWkt(wkt)
feature = ogr.Feature(layer.GetLayerDefn()) # feature = ogr.Feature(layer.GetLayerDefn())
print("features") print("features")
# feature.SetStyleString("PEN(c:#FF0000,w:5px);") # feature.SetStyleString("PEN(c:#FF0000,w:5px);")
......
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