This repository is created for the Synthesis course of the MSc Geomatics at TU Delft, on behalf of the clients Gemeente Amsterdam and MIT Senseable City Lab. The datasets produced for this research can be found at 4TU, the report at the TU Delft repository.
The documentation can best be viewed on the webpage.
This repository enables the creation of shade maps for any desired region in the Netherlands at any specified date and time. Using these shade maps alongside additional datasets, it can identify and qualify cool spaces within this region. Finally, it can create walksheds from these cool spaces to show the shortest and the shadiest distances to these cool spaces. It can also create shortest and/or shadiest paths to and from any given location, or the nearest cool space.
The repository is organized into three primary steps:
/shade_calculation)This step covers the creation of the shade maps. For this, CHM and DTM files are created for the desired region. For more information about the workings of the code, look at the page: Shade Map Calculation Further research has updated the shade function with GPU acceleration, and has automated the data collection further with removal of the tiling system. If interested, please take a look at the repository of SOLFD
The code can be run separately at /shade_calculation/main_shade.py
/cool_place)This step covers the identification and qualification of cool spaces in the desired region. It requires the output shade map files of the previous step. For more information about the workings of the code, look at the page: Cool Space Process
The code can be run separately at /cool_place/main.py
/PedestrianNetwork)This step covers the creation of a pedestrian network for the desired region, the creation of the walkshed and the calculation of shortest and shadiest path. It requires the ouput shade map files of the first step, and the shade geometries of the second step. For more information about the workings of this code, look at the page: Network Process
The code can be run separately at /PedestrianNetwork/main_network.py
The code can be run for all steps simultaneously. For this use main.py, and set up the configuration files and command line arguments.
example_run/config_files/shade_config.jsonexample_run/config_files/coolspaceConfig.jsonexample_run/config_files/network_config.jsonTrue to execute shade calculation; set to False to skip this step.TrueTrue to execute cool spaces calculation; set to False to skip this step.TrueTrue to create the pedestrian network; set to False to skip this step.TrueFind here the API
To run the code, configuration files have to be given as input. Find out how to do this at Setting up the Configuration File
We provide a requirement file for both pip install and setting up a conda environment. They pip install can be found at /requirements.txt,
the conda environment at /conda_environment.yml
We recommend using a Conda environment as this simplifies installing GDAL.
The required datasets for running the Analysis for the Amsterdam region can be found here Datasets
/example_run)The input, outputs and configuration file settings of an example run of a small region in Amsterdam can be found at the directory /example_run.
For this, the Cool Spaces datsasets are required, found at: Datasets