mapa en modal

parent fde6c900
This diff is collapsed.
......@@ -174,6 +174,11 @@ def Reports(request):
#"../ static / reports / tmpImages / repsat_test_dev / umorales @ centrogeo.edu.mx / "+str(producto['id']) / myzip.zip"
wkt = USERS_PATH + request.user.email + "/" + str(producto['id']) + "/findProducts.json"
with open(wkt, 'r') as jsonfile:
polygon = json.load(jsonfile)
print(polygon['wkt'])
for file in os.listdir(path=zip_path):
if file.endswith(".zip"):
print(file)
......@@ -192,6 +197,7 @@ def Reports(request):
"log_info": log,
"initial_folder" :initial_folder,
"zip" : zip,
"polygon": polygon['wkt'],
})
size = 0
final_size = 0
......
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