在您的django项目中使用GeoExplorer
项目描述
django-geoexplorer 允许您在 GeoExplorer 的基础上,将 Django 项目中使用。
这是对无界套件客户端 SDK 的包装工作。
发布将基于套件发布进行,但次要版本号可能不匹配。
安装
pip install django-geoexplorer
用法
将 geoexplorer 添加到您的 INSTALLED_APPS
开发者
git clone http://github.com/GeoNode/suite.git cd suite git submodule update –init cd ../ git clone http://github.com/GeoNode/django-geoxplorer.git cp -R suite/geoexplorer/target/geoexplorer/WEB-INF/app/static/* django-geoexplorer/geoexplorer/static/ cd django-geoexplorer git add geoexplorer/static vim setup.py # 更新版本号 git add setup.py git commit -m “提交提交,需要新版本,因为旧版本太旧了。” git push origin master python setup.py sdist upload
GeoExplorer 源代码
git clone https://github.com/GeoNode/geoexplorer.git cd geoexplorer git checkout geonode-geoexplorer ant war cp -R suite/geoexplorer/target/geoexplorer/WEB-INF/app static/* django-geoexplorer/geoexplorer/static/
许可证
GNU Lesser 公共许可证
OpenGeo 套件许可证 - GPL