From 507d8c9f99456dc9d5ec8a647256c0fec278d36d Mon Sep 17 00:00:00 2001 From: Alireza Adli Date: Thu, 25 Jul 2024 11:10:25 -0400 Subject: [PATCH] Remove fix geometries --- handle_varennes_ds_workflow.py | 14 ++++---------- varennes_io_paths.py | 3 +-- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/handle_varennes_ds_workflow.py b/handle_varennes_ds_workflow.py index 548ad5a..292206f 100644 --- a/handle_varennes_ds_workflow.py +++ b/handle_varennes_ds_workflow.py @@ -36,17 +36,11 @@ print('Processing the Property Assessment 2022 layer') print(property_assessment_2022) property_assessment_2022.create_spatial_index() -property_assessment_2022.fix_geometries(output_paths['Fixed Property Assessment 2022']) -fixed_property_assessment_2022 = ScrubLayer( - qgis_path, input_paths['Fixed Property Assessment 2022'], 'Fixed Property Assessment 2022') -fixed_property_assessment_2022.create_spatial_index() -print(fixed_property_assessment_2022) - -fixed_property_assessment_2022.clip_layer( +property_assessment_2022.clip_layer( varennes_boundary.layer_path, - output_paths['Clipped Varennes Property Assessment']) + output_paths['Varennes Clipped Property Assessment']) varennes_clipped_property_assessment = ScrubLayer( - qgis_path, output_paths['Clipped Varennes Property Assessment'], - 'Clipped Varennes Property Assessment') + qgis_path, output_paths['Varennes Clipped Property Assessment'], + 'Varennes Clipped Property Assessment') varennes_clipped_property_assessment.create_spatial_index() print(varennes_clipped_property_assessment) diff --git a/varennes_io_paths.py b/varennes_io_paths.py index 2700c08..de7d226 100644 --- a/varennes_io_paths.py +++ b/varennes_io_paths.py @@ -22,6 +22,5 @@ output_paths_dir = \ output_paths = { 'Fixed GeoIndex': '', 'Clipped Fixed GeoIndex': '', - 'Fixed Property Assessment 2022': '', - 'Clipped Varennes Property Assessment': '' + 'Varennes Clipped Property Assessment': '' }