geonode安全插件

safe-geonode的Python项目详细描述


安全地理节点

安全-地理节点插件。

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

安装

以下是在开发模式(用于更改软件)和生产模式(用于在服务器上部署)下安装Risiko的说明。

  1. Install safe-geonode:

    sudo add-apt-repository ppa:geonode/unstable
    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:

    urlpatters += ((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 ^{tt1}$:

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

    http://localhost/safe

限制

安全地球节点是一个非常新的项目。 然而,我们的工作理念是,利益相关者应该从一开始就能够访问开发和源代码,并邀请评论、建议和贡献。

因此,安全geonode目前有一些主要限制,包括

  • 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

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java需要64位jdk 1.5 for windows   eclipse运算符+对于参数类型java是未定义的。双,爪哇。双人   未下载文件扩展名为的java文件   java不支持带有POST的媒体类型   从动态创建的多个EditText读取文本时发生java错误   java无法为同一xpath单击多个按钮   如何在Java中动态格式化字符串   java Android Clear Middle活动   多线程Java内存模型volatile和x86   git在Java中通过Jgit忽略文件或文件夹   java“决策无法区分输入的备选方案1、2…”   子类的javajpa继承   java需要弄清楚如何操作mutator来弄清楚一个类,教授说,我对如何操作感到困惑   java如何使用JDBC将数据从文件复制到PostgreSQL?