(WIP) feature: enrich graph with building demand

This commit is contained in:
Majid Rezaei 2024-07-30 18:27:14 -04:00
parent de48488010
commit d907b21a92

View File

@ -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,