RA2CE helps to quantify resilience of critical infrastructure networks, prioritize interventions and adaptation measures and select the most appropriate action perspective to increase resilience considering future conditions.
[x] I HAVE NOT added sensitive or compromised (test) data to the repository.
[x] I HAVE NOT added vulnerabilities to the repository.
[x] I HAVE discussed my solution with (other) members of the RA2CE team.
What has been done?
Use the columnname defined as link_type_column in the network configuration instead of the hardcode value "highway".
If no value is provided in the configuration "highway" should be used as fallback.
Checklist
[x] Code is formatted using our custom black and isort definitions.
[x] Tests are either added or updated.
[x] Branch is up to date with master.
[x] Updated documentation if needed.
Additional Notes (optional)
In addition a change is made in which only edges with maxspeed > 0 are taken into account when calculating the average speed of a certail road type.
Issue addressed
Solves #549
Code of conduct
What has been done?
Use the columnname defined as
link_type_column
in the network configuration instead of the hardcode value "highway". If no value is provided in the configuration "highway" should be used as fallback.Checklist
black
andisort
definitions.master
.Additional Notes (optional)
In addition a change is made in which only edges with maxspeed > 0 are taken into account when calculating the average speed of a certail road type.