Contact : ole.moller.nielsen@gmail.com
Note
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Add the layers described in a scenario file to QGIS.
Parameters: |
|
---|---|
Raises: | Exception, TypeError, FileNotFoundError |
Get a path and basename given a scenarioFilePath and path.
Parameters: |
|
---|---|
Returns: | Tuple containing path and base name |
Return type: | (str, str) |
Run the current scenario.
Parameters: | dock – Dock instance |
---|
Set the aggregation combo to use the layer with the given name.
Parameters: |
|
---|---|
Returns bool: | True on success, False in the case that the aggregation layer is not in the aggregation selector. |
Note
Probably won’t work for sublayers and anything else other than file based layers (e.g. shp).
Set the function combo to use the function with the given id.
Parameters: |
|
---|---|
Returns bool: | True on success, False in the case that the function is not present in the function selector (based on the context of loaded hazard and exposure layers. |