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