In the last few months we have been working really hard to get InaSAFE 4.0 ready. InaSAFE 4.0 represents a great shift in our approach whereby we will be able to drive a large part of the development of new hazards support and reporting by simply defining metadata. Some key aspects and goals of this work include:
Known Issues
Special Note:
Please note that when migrating from InaSAFE 3.x to version 4, you need to update the metadata ‘keywords’ for any layer you have previously defined keywords for.
If you right click on a layer in QGIS, you will now find a convenient addition: An InaSAFE context menu that you can use to quickly launch the keywords wizard.
This feature was funded by DFAT/WB-GFDRR
This feature was developed by Kartoza
The shakemap converter tool is used to convert USGS format earthquake grid files to a GeoTIFF format file which is then suitable for use during InaSAFE analysis. In InaSAFE 4.0 the imported GeoTIFF will now automatically be classified so that each cell contains an integer value for MMI instead of a floating point value. We also write keywords for the produced layer, but these are population specific. If you wish to use the imported shakemap layer with other exposure types, be sure to run the keywords wizard first!
This feature was funded by DFAT
This feature was developed by Kartoza
In previous versions of InaSAFE, it was possible to use a point layer to represent hazards (specifically volcanos). InaSAFE 4.0 deprecates support for point based hazards and the internal point buffering we used to do internally when working with volcano points. Instead we provide a new tool that allows you to generate buffered concentric circles around each feature in a point layer, with a hazard level or class assigned to each ring. The output layer produced can then be used as an input for a volcano analysis. This tool is accessible in the menu at Plugins -> InaSAFE -> Mult Buffer
.
This feature was funded by Kartoza
This feature was developed by Kartoza
The age and gender defaults that used to be available in the dock have been moved to the options dialog. These are accessed from the QGIS Menu at Plugins -> InaSAFE -> Options -> Global Default
. Global defaults are used when an aggregation layer does not have embedded gender and demographic ratios and the keywords for that layer specify that global defaults should be used.
This feature was funded by DFAT/WB-GFDRR
This feature was developed by Kartoza
The batch runner is a tool that can run multiple scenarios consecutively. This can be useful both for testing and if you want to automate analysis and subsequent report production for an area. If you have a dataset that is being updated regularly (buildings for example), you can set up the batch runner to repeat the analysis easily. In InaSAFE 4.0 the batch runner now supports every data format that QGIS Supports.
This feature was developed by DMI & Kartoza
Our new InaSAFE help provides detailed technical documentation on all aspects of the software and provides many internal details so that advanced users can dig in and understand how InaSAFE operates. The help text is automatically generated from the detailed metadata that we have used to drive the behaviour of InaSAFE 4.0. Changing internal metadata such has thresholds and concept descriptions will change both the application behaviour, and the help reference text.
InaSAFE help can be access from the QGIS Menu at Plugins -> InaSAFE -> InaSAFE Help
.
Note: You can open the help text in your web browser to by right clicking in the help window and choosing Open in web browser
.
This feature was funded by The Australian Government and WorldBank/GFDRR
The impact table from an impact layer has been styled so that it is easy to see what the hazard class for each row is. The colour of the symbol corresponds to the hazard class or threshold that each impacted feature is exposed to.
This feature was developed by Etienne Trimaille
A major addition to InaSAFE 4.0 is the change in modality from providing reports as simple pre-rendered HTML pages to producing usable data for the analysis results. These data are in the form of GIS layers which are available for futher analysis, inspection and export to other platforms such as your favourite spreadsheet application. In the screenshot accompanying this changelog entry, you can see the result of an analysis. Unlike prior versions of InaSAFE, a number of analysis results are produced. These products include:
The same data represented as a map layer:
This feature was funded by DFAT/WB-GFDRR
One of the improvements we have been working towards is the ability to produce non-tabular 'infographic' reports. Tabular data is information dense but often hard to communicate with, whilst infographics provide an opportunity to interpret an analysis outcome with a quick glance. Currently infographics are only produced for population exposure based reports, but we plan to add additional infographic reports in the future. One thing to note is that since we still occasionally experience layout issues with the infographic reports, we consider this feature experimental, but we are including the outputs in InaSAFE 4.0 so that we can get early feedback on the feature. For each population exposure analysis carried out, a PDF and an html (web page) document will be produced in the analysis working folder.
The population exposure infographic consists of a number of components:
Plugins -> InaSAFE
menu.This feature was funded by DFAT/WB-GFDRR
The reporting system in InaSAFE had many limitations that made it difficult to produce reports according to our reporting standards. In InaSAFE 4.0 we have completely overhauled the reporting system to make it easy to extend the reports and deal with the many small nuances needed to produce rich, informative reports. We now use jinja2 to do report templating which provides a lot of flexibility in how we approach the generation of reports.
This feature was funded by DFAT/WB-GFDRR
This feature was developed by Kartoza
In prior versions of InaSAFE, there was not any convenient way to configure exposure specific thresholds for a hazard. A simple way to understand this is to consider a hazard like tsunami. A tsunami wave that is 50cm deep sweeping onto the shore might be extremely hazardous ('high hazard level') to any people occupying the affected areas, while it may constitute a 'medium hazard level' for buildings in the same area since most well built structures have the potential to endure such an inundation.
In InaSAFE 4.0 we have added support for per-exposure hazard thresholds definitions. These thresholds are configurable via a new step in the keywords wizard during the hazard keyword definition process. This is demonstrated in the screencapture attached to this changelog entry. During the analysis process, the thresholds specific to the exposure layer will be applied when determining if exposure features are affected or not.
Note: If you wish to run the same analysis with different hazard thresholds, you will need to run the keywords wizard for the hazard layer prior to each analysis, and then adjust the thresholds accordingly.
This feature was funded by DFAT/WB-GFDRR
Since InaSAFE 4.0 now uses QGIS Layers for all the underlying analysis, we take advantage of this to provide the ability to use subsets (layer filters). This powerful capability means that you can now run the analysis with a specific subset of features. For example to do a flood on buildings analysis on schools only, we can filter a buildings layer to exclude all other building types and then run the analysis. This is demonstrated in the accompanying screencast, and the image below (which shows the report indicating only educational buildings). Note that the report numbers below are rounded to the nearest 10 units.
This feature was funded by DFAT/WB-GFDRR
Tropical Cyclones (also known as hurricanes or typhoons) are an important hazard in the tropics. InaSAFE 4.0 introduces support for Tropical Cyclone based analysis. The following cyclone hazard classifications are supported:
This feature was funded by WB-GFDRR
This feature was developed by Marco Bernasocchi
In previous versions of InaSAFE, you generally needed to prepare and work with data in EPSG:4326 "Geographic" coordinate system. This was due to an underlying limitation of some of the analysis routines we used. In this release, you can now use data in any Coordinate Reference System - as aillustrated in the accompanying screenshot where we have carried out the analysis using UTM 48S data - and the resulting impact layer is also in this Coordinate Reference System.
This feature was funded by DFAT/WB-GFDRR
Earthquake analysis has undergone an overhaul too. The spatial output of earthquake on population is now a raster symbolised to show whether each cell is thought to be a source of displaced people or not. This is illustrated in the accompanying screenshot. Also the choice of which algorithm to use for earthquake analysis has now been moved to the InaSAFE options dialog in Plugins -> InaSAFE -> Options -> Basic Options
. The ITB Bayesian fatality rates algorithm is now used by default. Note that earthquake fatality estimates are now reported as ranges as shown in the second screenshot below. For example where we compute 57 fatalities, the report will show 0-100 fatalities. This is done to ensure that the report reader understands that the numbers are estimations and should not be construed as exact data.
This feature was funded by DFAT/WB-GFDRR
This feature was developed by GA/Kartoza
In the previous versions of InaSAFE, we spent a lot of effort building one impact function per hazard/exposure combination (and sometimes multiple impact functions per combination). In our new architecture, we try to deal with everything in the same way - by following a standardised process of converting the hazard dataset into a classified polygon layer and then calculating the impacted and affected areas using a standard worflow. A simplified version of this workflow is described here.
Because of this change, you will no longer see an impact function selector in the dock widget and there are no longer any 'impact function options' as we had in previous versions of InaSAFE. In the new system, almost all configuration is managed through metadata (created using the keywords wizard).
This feature was funded by DFAT & WB/GFDRR
This feature was developed by Kartoza
In all versions prior to Version 4.0, we made heavy use of interpolation in order to determine whether buildings or other exposure layers are impacted. Whist this is a commonly used technique in GIS, it often leads to non-intuitive looking reports. Here is an example from the old version (see issue #1083:
Under our new architecture, we always use geometric overlay operations to make a determination whether an exposure feature is affected or not. The implication of this is that we produce intuitive and easily verifiable impact layers. You can see an example here:
Another important improvement is the fact that the determination of what hazard level each exposure feature is assigned is based on the highest hazard that it touches. In older versions, it was indeterminate what the behaviour would be if, for example, a building touches two different zones of hazard level. Under InaSAFE 4.0 an exposure feature will always be assigned the highest hazard level that it touches. So if for example a building is partially flooded, it will always be considered to be flooded, even if another part touches a non-flooded area.
This feature was funded by DFAT & WB/GFDRR
In previous versions of InaSAFE, analysis was always carried out in rectangular areas. This has limitations - in particular that analysis results reported may not reflect the area of interest well. In InaSAFE 4.0, it is possible to use the polygonal outline of the aggregation area to constrain the analysis. This means that exposure features and population outside the aggregation areas will not be counted as part of the total counts, which makes the reporting more relevant for disaster managers trying to understand potential impacts.
Another key feature in irregular area support is that you can now select one or more districts using the QGIS selection tool - the analysis will only be run on the selected districts. Click play on the accompanying screencast to see how this feature works in action.
In InaSAFE 4.0 age and gender ratios are specified as part of the aggregation layer metadata. A simple precedence based system is used to determine where ratios should be derived from. This is controllable in part by the options in the keywords wizard according to this logic:
InaSAFE will ensure that where ratios are interrelated (for example youth / adult / aged), their combined value will not be allowed to exceed 1.0.
We have also included detailed descriptions of each concept as shown in the accompanying screencast.
This feature was funded by DFAT/WB-GFDRR