Step-by-Step Example
Lets say we would like to create a greenery matrix of Some city..
Attention
Remember that you can run the example all pipeline by: inv gp2 -a “-c green_paths_2/user/working_example_config.yaml all”
Get familiar with documentation.
Gather the exposure data and download the OSM street network to a reasonable folder.
(optional) Open the exposure data etc. in e.g. QGIS to explore the exposure data and OSM network
Install the Green Paths 2.0 by following the instructions
Start filling the user configuration in green_paths_2/src/user/config.yaml
(optional) Run inv gp2 -a describe (to describe your exposure data). THIS CURRENTLY NEEDS PASSING VALID USER CONFIGURATION (can have incorrect values, as long as types are correct, should improve this…).
Run inv gp2 -a validate (to see if the configuration is properly filled)
The user configurations is passing! Double check it! Do have a coffee break!
Run the preprocessing pipeline: inv gp2 -a preprocessing
(optional) Set “save_raster_file: True” to all exposure data sources, and inspect the created exposure rasters! Especially if using vector data!
Run preprocessing again if needed. When exposure rasters seem good run: inv gp2 -a “all -uc”. Note! Remember to configure e.g. keep_geometry correctly for the needs.
Inspect the results. If keep geometry is True, open the paths in QGIS and inspect.
Use resulting file to do further post analysing of the exposures!
Travel safe and healthy!