Commit 50c0bef8 authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

wkt raster

parent 48f0412e
......@@ -94,12 +94,13 @@ def rasterWkt(wkt, inputfile, outputfile):
polygonRaster.SetProjection(sr.ExportToWkt())
print("Shapefile")
# shapefile
driver = ogr.GetDriverByName("ESRI Shapefile")
data_source = driver.CreateDataSource("myShape.shp")
print("Burn Polygon")
#Burn Polygon
srs = osr.SpatialReference()
srs.ImportFromEPSG(4326)
......
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