From 0c750063cdc37152b713b81bcb725608453800d5 Mon Sep 17 00:00:00 2001 From: Alireza Adli Date: Wed, 7 Aug 2024 15:38:34 -0400 Subject: [PATCH] Split to five files --- services_scripts/split_layer_by_expression.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services_scripts/split_layer_by_expression.py b/services_scripts/split_layer_by_expression.py index 9a834de..82b4a32 100644 --- a/services_scripts/split_layer_by_expression.py +++ b/services_scripts/split_layer_by_expression.py @@ -30,13 +30,13 @@ output_layers_folder = \ 'C:/Users/a_adli/PycharmProjects/' \ 'hydroquebec_archetype_gispy/data/' \ 'output_data/divided_all' -num_layers = 20 +num_layers = 5 create_folders(output_layers_folder, num_layers) layer_path = \ 'C:/Users/a_adli/PycharmProjects/' \ 'hydroquebec_archetype_gispy/data/' \ - 'output_data/02_clipped_nrcan_mtl_boundary/clipped_nrcan.shp' + 'output_data/nrcan_fixed_from_class_mtl/nrcan_fixed.shp' fixed_nrcan, fixed_nrcan_name = load_layer(layer_path, 'Clipped NRCan') layer_length = fixed_nrcan.featureCount()