Interactive interface for browsing global, full-resolution satellite imagery
Split vector layer id at `.json` - Fixes #2012
ZachTRice33010a2b8d0a
diff --git a/tasks/processVectorData.py b/tasks/processVectorData.pyindex 29f081eec..87d5eda44 100755--- a/tasks/processVectorData.py+++ b/tasks/processVectorData.py@@ -33,7 +33,7 @@ def copy_file(file):if input_file.endswith('.json'):response_data = {}vector_layer_filename = file;- vector_layer_id = vector_layer_filename.split(".", 1)[0]+ vector_layer_id = vector_layer_filename.split(".json", 1)[0]response_data["vectorData"] = {}response_data["vectorData"][vector_layer_id] = {}with open(input_file) as json_file:diff --git a/tasks/processVectorStyles.py b/tasks/processVectorStyles.pyindex 833858f6f..b8e7fcf4d 100755--- a/tasks/processVectorStyles.py+++ b/tasks/processVectorStyles.py@@ -33,7 +33,7 @@ def copy_file(file):if input_file.endswith('.json'):response_data = {}vector_layer_filename = file;- vector_layer_id = vector_layer_filename.split(".", 1)[0]+ vector_layer_id = vector_layer_filename.split(".json", 1)[0]response_data["vectorStyles"] = {}response_data["vectorStyles"][vector_layer_id] = {}with open(input_file) as json_file: