From 525c804825cb91eeb3d7446e8c56fa3ee9bb1f02 Mon Sep 17 00:00:00 2001 From: James B Date: Tue, 27 Jun 2023 11:31:19 +0100 Subject: [PATCH] bugfix: Call flattentool with correct schema 0.8.2 of libcoveofds needed for this --- cove_ofds/process.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cove_ofds/process.py b/cove_ofds/process.py index 3ad2d7e..44f7c79 100644 --- a/cove_ofds/process.py +++ b/cove_ofds/process.py @@ -98,7 +98,7 @@ def process(self, process_data: dict) -> dict: "output_name": os.path.join(output_dir, "unflattened.json"), "root_list_path": "networks", "input_format": get_file_type_for_flatten_tool(self.supplied_data_files[0]), - "schema": schema.package_schema_url, + "schema": schema.network_schema_url, "convert_wkt": True, } @@ -447,7 +447,7 @@ def process(self, process_data: dict) -> dict: flatten_kwargs = { "output_name": self.output_dir, "root_list_path": "networks", - "schema": schema.package_schema_url, + "schema": schema.network_schema_url, "truncation_length": 9, "main_sheet_name": "networks", "convert_wkt": True,