SAFE - GeoNode plugin.
http://inasafe.org/ http://geonode.org/
These are the instructions for installation of Risiko in development mode (for changing the software) and production mode (for deploying on a server).
Install safe-geonode:
sudo add-apt-repository ppa:geonode/release sudo apt-get update sudo apt-get install geonode source /var/lib/geonode/bin/activate pip install safe-geonodeModify your INSTALLED_APPS to include safe_geonode:
INSTALLED_APPS += ('safe_geonode', 'leaflet',)Add an entry for geonode_safe in your urls.py:
urlpatterns += patterns('', (r'^safe/', include('safe_geonode.urls')),)Copy the missing static files, create the new tables in the database and reload the apache web server:
sudo geonode collectstatic sudo geonode syncdb sudo service apache2 reloadIf you need sample data, get it from the inasafe_data repository:
git clone https://github.com/AIFDR/inasafe_data.gitAnd load it using
safeimportlayers
:geonode safeimportlayers inasafe_data/hazard geonode safeimportlayers inasafe_data/exposureFinally, navigate to the safe interface to try it out:
safe-geonode is a very new project. However, we work on the philosophy that stakeholders should have access to the development and source code from the very beginning and invite comments, suggestions and contributions.
As such, safe-geonode currently has some major limitations, including
- All data must be provided in WGS84 geographic coordinates
- Neither AIFDR nor GFDRR take any responsibility for the correctness of outputs from safe-geonode or decisions derived as a consequence