Remove fix geometries

This commit is contained in:
Alireza Adli 2024-07-25 11:10:25 -04:00
parent 5487d79fe9
commit 507d8c9f99
2 changed files with 5 additions and 12 deletions

View File

@ -36,17 +36,11 @@ print('Processing the Property Assessment 2022 layer')
print(property_assessment_2022) print(property_assessment_2022)
property_assessment_2022.create_spatial_index() property_assessment_2022.create_spatial_index()
property_assessment_2022.fix_geometries(output_paths['Fixed Property Assessment 2022']) property_assessment_2022.clip_layer(
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(
varennes_boundary.layer_path, varennes_boundary.layer_path,
output_paths['Clipped Varennes Property Assessment']) output_paths['Varennes Clipped Property Assessment'])
varennes_clipped_property_assessment = ScrubLayer( varennes_clipped_property_assessment = ScrubLayer(
qgis_path, output_paths['Clipped Varennes Property Assessment'], qgis_path, output_paths['Varennes Clipped Property Assessment'],
'Clipped Varennes Property Assessment') 'Varennes Clipped Property Assessment')
varennes_clipped_property_assessment.create_spatial_index() varennes_clipped_property_assessment.create_spatial_index()
print(varennes_clipped_property_assessment) print(varennes_clipped_property_assessment)

View File

@ -22,6 +22,5 @@ output_paths_dir = \
output_paths = { output_paths = {
'Fixed GeoIndex': '', 'Fixed GeoIndex': '',
'Clipped Fixed GeoIndex': '', 'Clipped Fixed GeoIndex': '',
'Fixed Property Assessment 2022': '', 'Varennes Clipped Property Assessment': ''
'Clipped Varennes Property Assessment': ''
} }