From 90a7f5648b3b0f2dc94eb64c113ecde9f2d49436 Mon Sep 17 00:00:00 2001 From: Majid Rezaei Date: Tue, 30 Jul 2024 18:27:14 -0400 Subject: [PATCH] (WIP) feature: enrich graph with building demand --- main.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 195e3b12..be373421 100644 --- a/main.py +++ b/main.py @@ -30,7 +30,7 @@ dir_manager = DirectoryManager(base_path) # Input files directory input_files_path = dir_manager.create_directory('input_files') -geojson_file_path = input_files_path / 'test_geojson1.geojson' +geojson_file_path = input_files_path / 'output_buildings.geojson' # Output files directory output_path = dir_manager.create_directory('out_files') @@ -41,6 +41,10 @@ simulation_results_path = dir_manager.create_directory('out_files/simulation_res sra_output_path = dir_manager.create_directory('out_files/sra_outputs') cost_analysis_output_path = dir_manager.create_directory('out_files/cost_analysis') +# Select city area +location = [45.53067276979674, -73.70234652694087] +process_geojson(x=location[1], y=location[0], diff=0.001) + # Create city object city = GeometryFactory(file_type='geojson', path=geojson_file_path,