InaSAFE Panneau

Ce document décrit l’utilisation du panneau InaSAFE, qui est l’interface principale pour simuler des scénarios de risque dans QGIS.

Note

Afin d’utiliser InaSAFE de manière efficace, vous devriez consulter également la documentation sur Keywords System et Understand Impact Functions avant de commencer.

Le panneau InaSAFE est le principal moyen d´interagir avec les outils fournis dans InaSAFE. Après avoir installé l’extension InaSAFE, le panneau se charge automatiquement dans QGIS. Il ressemble à ça:

Docking Panel

Panneau

Vous pouvez glisser-déplacer le panneau pour le repositionner dans l’interface du logiciel. Par exemple, déplacer le panneau vers la marge droite de QGIS permet de l’ancrer dans la partie droite de l’écran.

Dock on the right

Attacher à droite avec le projet en cours

Il y a 3 zones principales dans le panneau :

  • la zone Questions

  • la zone Results

  • l’espace the Boutons

À tout moment vous pouvez accéder à l’aide dans InaSAFE en cliquant sur les boutons help situés sur chaque fenêtre.

La zone des Questions

The objective of InaSAFE is to make it easy to perform an impact analysis. The questions area provides a simple way to formulate the scenario question. All questions are formulated in the form:

Si [catastrophe] combien [vulnerabilité] peuvent [impact].

Par exemple :

Si il y a une inondation combien de écoles peuvent être fermées

Afin de répondre à ces questions, les développeurs d’InaSAFE ont construit plusieurs fonctions d´impact couvrant des scénarios de crue/inondation, tsunami, chute de cendres volcaniques, séisme, etc. Vous pouvez vous référer à la documentation relative aux différentes Understand Impact Functions pour en savoir plus.

La formulation de ces questions est effectuée en chargeant les couches dans QGIS représentant les scénarios de catastrophe ou vulnérabilité.

  • Une catastrophe (dans l’éventualité de) peut être représentée par exemple comme une coouche raster dans QGIS dont chaque pixel représente la hauteur d’eau actuelle suite à un épisode de crue/inondation

  • Une couche vulnérabilité (combien de) peut être une couche vecteur polygonale représentant les contours des bâtiments, ou des contours raster où chaque pixel représente le nombre de résidents sur cette cellule.

La fonction d’impact (peut) combinera ces deux coouches en entrée dans un modẽle mathématique pour estomer ce que l’impact de la catastrophe sera sur les infrastructures ou la population vulnérables.

en sélectionnant une combinaison de valeurs dans les boîtes dans l’éventualité de et combien de , un ensemble de fonctions d’impact sera listé dans la boîte peut

Vous vous demandez comment l’extension InaSAFE détermine si une couche doit apparaître comme dans le cas où ou Combien de ? L’extension s’appuie sur des mot-clés de la métadonnée associée à chacune des couches

The keyword system is described in detail in Keywords System. Each layer that has a keyword defining its category as hazard will be listed in the In the event of combo box. Similarly, a category of exposure in the keywords will result in a layer being listed under the How many combo box.

InaSAFE uses the combination of category, subcategory, units and datatype keywords to determine which impact functions will be listed in the Might combo box.

The impact function can be configured (if applicable) by pressing the ... button next to the chosen impact function.

This is explained in more detail below under Setting analysis parameters.

As of InaSAFE 1.2, you can also choose an aggregation layer for both raster and vector layers.

Aggregation allows you to specify an additional layer when defining the analysis criteria. This layer is used to provide a by-area breakdown of the results of the analysis. For example, if you are carrying out an analysis for a city, you can use district areas within the city to provide per-area results. In the absence of an aggregation layer, the analysis extent is used as the aggregation unit. To use this option you must load a polygon layer into QGIS that represents the areas you wish to summarise by.

Note

After running an analysis, the questions area is hidden to maximise the amount of space allocated to the results area (see below). You can re-open the question area at any time by pressing the Show question form button.

The results area

The results area is used to display feedback to the user. Once an impact scenario has been run (see next section), a summary table will be shown.

Scenario results

Results shown after processing of scenario

If you select an impact layer (i.e. a layer that was produced using an InaSAFE impact function), in the QGIS Layers panel, this summary will also be displayed in the results area.

When you select a hazard or exposure layer in the QGIS Layers panel, the keywords for that layer will be shown in the Results area, making it easy to understand what metadata exists for that layer.

Dock on the right

Showing keywords for active layer

The Results area is also used to display status information. For example, when a suitable combination of hazard (In the event of), exposure (How many) and impact function (In the event of) are selected, the results area will be updated to indicate that you can proceed to run the impact scenario calculation. The Run button will be activated.

Ready to run

Run button activated

Finally, the results area is also used to display error messages so that the user is informed as to what went wrong and why. You may need to scroll down a bit in the window.

Displaying Problems

Showing error messages

To allow more space for the results your question is automatically hidden to make the results area as large as possible for displaying the results. If you want to have a look again what the question was that you formulated click on the Show question form button at the top of the results area.

Show question form

Show question form

To hide the question again to have more space for the results, simply make active the layer which InaSAFE created during the calculation in the Layers panel.

Note

At the bottom of the error display you may see a button like the following. Click on this button to display a box which contains diagnostic information that can be submitted as part of a bug report if you think the error was incorrect.

../../_images/toggle-traceback.png

The buttons area

The buttons area contains four buttons:

Buttons area

Buttons Area

  • Aide - pour l’aide contextuelle, comme le document que vous êtes actuellement en train de lire.

  • About - click on this to get information about InaSAFE.
  • Print... - click on this if you wish to create a PDF of your impact scenario project or to generate a report and open it in composer for further tuning. An impact layer must be active before this button will be enabled.
  • Run - when the combination of options in the questions area is suitable to be run, this button is enabled.

Conversion de données lors de l’exécution d; un scénario

Lors de l’exécution d’un scénario, les données utilisées doivent être prétraitées jusqu’à obtenir un état acceptable par la fonction d’impact. Notez en particulier que :

  • Remote datasets will be copied locally before processing
  • All datasets will be clipped to the intersection of the hazard layer, the exposure layer and the current view extents
  • All clipped datasets will be converted (reprojected) to Geographic (EPSG:4326) coordinate reference system before analysis

Setting analysis parameters

Depending on the impact function you choose there will be different options to adjust the parameters of the the question you are asking. Some impact functions have more configurable options and some have less. This depends on the impact function itself and the question you are asking.

To open the impact function configuration dialog click on the ... Button next to the Might combo box.

Impact Function Configurator

Open the impact function configurator

There will be up to three tabs available:

  • Options: Depending in the impact function you select, you can influence the result of your question here (the impact function) by setting different initial values which are presented depending on the function you choose (not all impact functions may be customised).
  • Postprocessors: This takes the results from the impact function and calculates derivative indicators. For example, if you have an affected population total, the gender postprocessor will calculate gender specific indicators such as additional nutritional requirements for pregnant women.
  • Minimum Needs: If the impact function calculates effects on people, this calculates the minimum needs of the people affected by the impact scenario. To use this you should have the necessary data available and calculate this by using the Outil besoins minimaux.
Impact Function Configurator

Generating impact report

When scenario analysis is complete you may want to generate a report. Usually the Print... button will be enabled immediately after analysis. If it is still inactive, select the impact layer in the Layers panel.

To generate a report click on the Print... button in the buttons area. This will open an Impact report dialog.

Impact Report configuration

Impact report configuration

The dialog has three components:

  • Area to print allows you to customise the extent of the report map. There are two options available. Choose Current extent if the current canvas extent represents the necessary area. Choose Analysis extent to set the extent of the report map to the impact layer extent.
  • Template to use allows you to select a template for the report. The combo box lists all templates bundled with the plugin as well as templates from the user-defined template directory (see Options for information on how to set the templates directory). It is also possible to select a custom template from any location - activate the radio button under the combo box and provide a path to the template using the ... button.
  • At the bottom are four buttons: Open PDF will generate the report and export it in PDF format. The resulting file(s) will be opened in your default PDF viewer. Open composer is used when you need to adjust the generated report before printing. Click this button and the report will be opened in the QGIS composer, where you can edit it as needed.