InaSAFE - QGIS plugin for estimating impact from natural disasters
Python QML C HTML Shell Makefile Other
Clone or download
nyalldawson and ismailsunni Update test result
I'm unsure how the previous result was obtained, but the count
of 14 looks correct after manually validating this test
Latest commit 9d4baf0 Jun 28, 2018
Failed to load latest commit information.
.github typo in PR template Jan 11, 2018
.tx Update i18n location in transifex configuration. Oct 4, 2017
docs Added env vars to reduce logging level and disable welcome message Jun 25, 2018
extras More 2to3 Jun 25, 2018
safe Update test result Jul 2, 2018
safe_extras Update parameters submodule Jun 25, 2018
scripts Set encoding when calling Popen Jul 2, 2018
.checkignore Add .checkignore Nov 2, 2016
.dockerignore Moving resources and translation to safe package (#4410) Sep 5, 2017
.flake8 [Revert Me] Metadata Converter (#4622) Nov 16, 2017
.gitattributes add updated graph to git Oct 4, 2016
.gitignore Update gitignore. Jan 22, 2018
.gitmodules Restore original origin for parameters Jun 25, 2018
.landscape.yml Add landscape config file. Dec 28, 2016
.python-version set python to version 2 Nov 30, 2017
.travis.yml Re-enable notifications Jun 25, 2018
71-apt-cacher-ng Further progress on i18n consolidation to use only Qt translation fra… Dec 17, 2014
AUTHORS.rst Further progress on i18n consolidation to use only Qt translation fra… Dec 17, 2014
CHANGELOG Update CHAGELOG for 4.4 (again). May 24, 2018
INSTALL.rst pulled latest commits from upstream Feb 11, 2014
LICENSE.txt UNIX line endings with Flip Sep 14, 2012 Moving resources and translation to safe package (#4410) Sep 5, 2017
Makefile Resurrect E402/E501 checks on Travis Jun 25, 2018 Tidy up Jan 22, 2018
REQUIREMENTS.txt Move test requirements to its own file Jun 25, 2018
REQUIREMENTS_TESTING.txt Move test requirements to its own file Jun 25, 2018 More 2to3 Jun 25, 2018
metadata.txt Set minimum QGIS version to 3.2 Jun 26, 2018
pylintrc Pylint fixes for release May 2, 2015 Update run docker to QGIS3 Jun 25, 2018 Update importing safe_extras in safe. Aug 14, 2017 Fix failing tests for #4163 May 18, 2017 add realtime flood template Mar 8, 2016 fix issues in shake template with new placename Apr 6, 2016
run-gui-tests.bat Naming consistency improvements for shell scripts Aug 30, 2013 Reporting standards (#3027) Jul 25, 2016 Use QGIS 2.0 instead of QGIS Realtime for all scripts Oct 22, 2013 Reporting standards (#3027) Jul 25, 2016 Neater environment setting for osx Feb 12, 2014 Reporting standards (#3027) Jul 25, 2016
run-tests-win.bat Naming consistency improvements for shell scripts Aug 30, 2013 Fix failed install pypi package due to unable to get version. Fix #4909 Feb 19, 2018 Initial automated migration + QgsMapLayerRegistry -> QgsProject Jun 25, 2018
sideci.yml trying to remove "message" from exception Mar 15, 2018 Re-enable ALL test Jun 25, 2018
tox.ini Add flake config file. Jul 26, 2017


InaSAFE Screenshot

InaSAFE is free software that allows disaster managers to study realistic natural hazard impact scenarios for better planning, preparedness and response activities. InaSAFE is a plugin for QGIS.

For more information about InaSAFE and its documentation please visit

The latest source code is available at, which contains modules for risk calculations, GIS functionality and functions for impact modelling.

Story queue on Waffle:

  • Stories in Ready
  • Stories in In Progress

Throughput Graph

  • Current Travis test status master: Travis Build Status
  • Current Landscape code health master: Landscape Code Health
  • Current Travis test status develop: Travis Build Status
  • Current Landscape code health develop: Code Health
  • PyPi Downloads for InaSAFE: PyPI version
  • PyPi Downloads for the old 'safe' library (currently unmaintained): PyPI version
  • Github download: Github All Releases

Quick Installation Guide

You first need to have QGIS installed. Grab your free copy from the QGIS download page.

To install the InaSAFE plugin, use the plugin manager in QGIS:

Plugins → Manage and Install Plugins

Then search for "InaSAFE", select it and click the install button. The plugin will now be added to your plugins menu.

Note: You may need to restart QGIS if upgrading from a prior version.


We work under the philosophy that stakeholders should have access to the development and source code, and be able to participate in every level of the project - we invite comments, suggestions and contributions. See our milestones list and our open issues list for known bugs and outstanding tasks. You can also chat live with our developers and community members using the link below.

Join the chat at

System Requirements

  • A standard PC with at least 4GB of RAM running Windows, Linux or Mac OS X
  • The QGIS Open Source Geographic Information System ( Although InaSAFE will probably run on any version of QGIS version above 2.0 or newer, our supported version is the latest Long Term Release version of QGIS.

Running tests

  • InaSAFE is using the Unittest Python framework.
  • Different ways that you can run tests:
    • On Travis using a Pull Request
    • In QGIS Desktop if you enable developer mode in Plugins -> InaSAFE -> Options -> Advanced, restart QGIS and then click the run tests button.
    • Using docker make docker-test
    • Using PyCharm if you set up the dev environment with the qgis_prefix_path


  • In March 2011, Risk In A Box (the predecessor to InaSAFE) was built as a web application running as a GeoNode Plugin.
  • InaSAFE development as a QGIS plugin started in January 2012.
  • In October 2012, version 1.0 of InaSAFE was launched at the 5th Asian ministerial conference on disaster risk reduction (AMCDRR) where it was demonstrated to the then president of Indonesia, Susilo Bambang Yudhoyono who praised the project.
  • On 30 Jan 2013, InaSAFE was awarded the prestigious Black Duck Open Source Rookie of the Year Award.
  • Version 2.0 of InaSAFE was released in January, 2014.
  • Version 3.0 was released in March 2015 which added support for using the QGIS API within impact functions.
  • Version 4.0 was released in March 2017.


InaSAFE has been jointly developed by the Indonesian Government-BNPB, the Australian Government, the World Bank-GFDRR and independent contributors. These agencies and the individual software developers of InaSAFE take no responsibility for the correctness of outputs from InaSAFE or decisions derived as a consequence.


InaSAFE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 (GPLv3) as published by the Free Software Foundation.

The full GNU General Public License is available in LICENSE.txt or

Disclaimer of Warranty (GPLv3)

There is no warranty for the program, to the extent permitted by applicable law. Except when otherwise stated in writing the copyright holders and/or other parties provide the program "as is" without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. The entire risk as to the quality and performance of the program is with you. Should the program prove defective, you assume the cost of all necessary servicing, repair or correction.

Limitation of Liability (GPLv3)

In no event unless required by applicable law or agreed to in writing will any copyright holder, or any other party who modifies and/or conveys the program as permitted above, be liable to you for damages, including any general, special, incidental or consequential damages arising out of the use or inability to use the program (including but not limited to loss of data or data being rendered inaccurate or losses sustained by you or third parties or a failure of the program to operate with any other programs), even if such holder or other party has been advised of the possibility of such damages.

Thank you


We use PyCharm for our python development work

JetBrains kindly sponsor the licenses for InaSAFE under their 'free for open source projects' programme. Please support them by buying a professional license if you are able to!