... | ... | @@ -65,10 +65,18 @@ For roads, the following function is specified: |
|
|
</type>
|
|
|
</ROADS>
|
|
|
```
|
|
|
This specification translates into a damage function where 0 damage occurs if a road is flooded with a depth between 0 and 0.3m, while all higher flood depths incurr a per sqm damage of 80 Dollars (or any other currency of your liking).
|
|
|
This specification translates into a damage function where 0 damage occurs if a road is flooded with a depth between 0 and 0.3m, while all higher flood depths incur a per sqm damage of 80 Dollars (or any other currency of your liking).
|
|
|
|
|
|
|
|
|
# Running the program
|
|
|
1. Make sure you have the software mentioned under "Setup" installed.
|
|
|
2. Modify the configuration file "./config/config_damage.xml" - include paths to result and land use files, as well as the depth-damage functions you would like to apply. The program will look for the configuration file in a subfolder "config" placed in the same location as the python files. Make sure that you maintain this structure, or modify the code.
|
|
|
3. Run the program from the command line: "python Main_Postprocessor.py" (if you have not included the python installation in your pah variable, or if you have multiple python versions installed on your computer (for example, because of python being installed together with ArcGIS), you need to replace "python" by the path to the python.exe you want to use).
|
|
|
|
|
|
|
|
|
# Output |
|
|
\ No newline at end of file |
|
|
# Output
|
|
|
The program output is a text file, in the following format:
|
|
|
```XML
|
|
|
total;buildings;roads;green
|
|
|
84650.0;84650.0;0.0;0.0
|
|
|
```
|
|
|
The first column contains the total flood damage occuring for the considered flood map and land use data. The 2^nd^ to 4^th^ columns contain the contribution from buildings, roads and green areas to the total flood damage. |
|
|
\ No newline at end of file |