Skip to content

inasafe/safe-geonode

Repository files navigation

safe-geonode

SAFE - GeoNode plugin.

http://inasafe.org/ http://geonode.org/

INSTALLATION

These are the instructions for installation of Risiko in development mode (for changing the software) and production mode (for deploying on a server).

  1. 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-geonode
    
  2. Modify your INSTALLED_APPS to include safe_geonode:

    INSTALLED_APPS += ('safe_geonode', 'leaflet',)
    
  3. Add an entry for geonode_safe in your urls.py:

    urlpatterns += patterns('', (r'^safe/', include('safe_geonode.urls')),)
    
  4. 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 reload
    
  5. If you need sample data, get it from the inasafe_data repository:

    git clone https://github.com/AIFDR/inasafe_data.git
    
  6. And load it using safeimportlayers:

    geonode safeimportlayers inasafe_data/hazard
    geonode safeimportlayers inasafe_data/exposure
    
  7. Finally, navigate to the safe interface to try it out:

    http://localhost/safe

LIMITATIONS

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