用于geoshape项目的geonode(http://geoshape.org)。通常不包含对geonode的任何附加项,但它充当等待转入geonode的更改或无法向上游推送的更改的保存位置。

geoshape-geonode的Python项目详细描述


Build Status

地理节点支持

要获得支持,请使用geonode官方频道、用户邮件列表:http://lists.osgeo.org/pipermail/geonode-users/和开发人员邮件列表:http://lists.osgeo.org/pipermail/geonode-devel/提供反馈和建议。

此存储库用于跟踪代码更改和geonode问题,请不要打开新问题以请求支持。

geonode安装

如果您只想尝试geonode,建议使用ubuntu 12.04并安装python软件属性。:

sudo apt-get install python-software-properties

对于安装了python软件属性的12.04版本,请安装geonode的最新稳定版本。:

sudo add-apt-repository ppa:geonode/release
sudo apt-get update
sudo apt-get install geonode

如果您有兴趣在源代码上进行开发,那么这里有一些说明:http://docs.geonode.org/en/master/tutorials/devel/install_devmode/index.html#install-devmode

Docker用法 如果您想使用Docker,现在可以:

# build the docker container
docker build -t geonode .

# run the docker container
docker run -d -p 8111:8000 -p 8181:8080 geonode

或者如果您使用图:

# build the container
fig build

# run the container
fig up

opensuse开发构建说明:

# Add Application:Geo and Python repositories
zypper -ar http://download.opensuse.org/repositories/Application:/Geo/openSUSE_12.2/ GEO
zypper -ar http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_12.1/ python
zypper refresh

# Basic build packages
zypper install gcc gcc-c++ python-devel libgeos-devel libproj-devel

# Python native dependencies
zypper install python-pip python-virtualenv python-imaging python-lxml python-gdal

# Java dependencies
zypper install java-1_7_0_openjdk-devel ant maven

# Supporting tools
zypper install git gettext-runtime

# Create virtualenv and activate it
virtualenv venv --system-site-packages
source venv/bin/activate
cd venv

# Clone GeoNode
git clone https://github.com/GeoNode/geonode.git

# Install GeoNode in the local virtualenv
pip install -e geonode --use-mirrors

cd geonode

# Compile GeoServer
paver setup

# Start the servers
paver start

Windows开发生成说明:

Prerequisites:
# Java JDK
# Python 2.7
# ant (bin directory must be on system PATH)
# maven2 (bin directory must be on system PATH)
# Python distutils (easy_install)
# GDAL Core Libraries
# git

# Install and configure from the windows command prompt
If you don't already have python virtualenv installed, then do it now:
easy_install virtualenv

# Create virtualenv and activate it
cd <Directory to install the virtualenv & geonode into>
virtualenv venv
venv\scripts\activate

# Clone GeoNode
git clone https://github.com/GeoNode/geonode.git

# Install compiled packages for Python 2.7 Win32
cd geonode
pip install paver
paver win_install_deps

# Install GeoNode in the local virtualenv
pip install -e . --use-mirrors

# Compile GeoServer
paver setup

# Start the servers
paver start --java_path=C:/path/to/java/bin/java.exe

Mac OSX开发构建说明:

# you may need brew install various dependencies

mkdir -p ~/pyenv
virtualenv ~/pyenv/geonode
source ~/pyenv/geonode/bin/activate
git clone https://github.com/GeoNode/geonode
cd geonode
pip install lxml
pip install pyproj
pip install nose
pip install httplib2
pip install shapely
pip install pillow
pip install paver

# Node and tools required for static development
brew install node
npm install -g bower
npm install -g grunt-cli

#Install pip dependencies
pip install -e .

#Paver handles dependencies for Geonode, first setup (this will download and update your python dependencies - ensure you're in a virtualenv)
paver setup
paver start

# Optional: To generate document thumbnails for PDFs and other ghostscripts file types
# Then download ghostscript: https://www.macupdate.com/app/mac/9980/gpl-ghostscript
brew install imagemagick
pip install Wand==0.3.5

完全启动后,您应该会看到一条指示geonode地址的消息。 默认用户名和密码是adminadmin

Development Geonode is running at http://localhost:8000/
To stop the GeoNode machine run:
paver stop

Or quit the server by pressing
CTRL-C to shut down

在启动geonode(摊铺机启动)之前,可以通过运行测试来测试安装:

paver test
paver test_integration

如果您想构建自己的文档,您需要安装sphinx并从docs目录中运行“make html”:

pip install Sphinx
pip install sphinx_rtd_theme
cd docs
make html

最终可以生成包含整个文档集的pdf。为此,如果使用ubuntu,则需要安装texlive完整软件包:

sudo apt-get install texlive-full
make latexpdf

注意

运行virtualenv venv时,--system-site-packages选项是 不需要。如果未启用,引导脚本将沙盒您的虚拟 系统中安装的任何软件包的环境,如果 您安装了不兼容的库版本,如django 全系统。另一方面,在大多数情况下,使用 操作系统提供的python映像库 供应商,或在PYPI上以外的包装。然而,如果有疑问,就离开吧 这个选项不行。

发展路线图

geonode的开发路线图记录在一系列geonode改进项目(gnips)中。 它们记录在这里:https://github.com/GeoNode/geonode/wiki/GeoNode-Improvement-Proposals。 国民总收入被认为是一项大事业,将为该项目增加大量的特点。 因此,它们是社区讨论和指导的主题。 社区在开发人员邮件列表中讨论这些问题:http://lists.osgeo.org/pipermail/geonode-devel/ github问题跟踪特性和bug,对于新开发人员,标签“easy pick”表示 对新开发人员来说应该比较容易理解和完成的问题。完成问题后 应提交拉取请求。然后社区将对此进行审查。

GPL许可证

Geonode版权所有2010 OpenPlans。

geonode是免费软件:您可以重新分发和/或修改它 根据由 自由软件基金会,或者许可证的第3版,或者 (由您选择)任何更高版本。

geonode的发布是希望它能有用, 但没有任何保证;甚至没有 适销性或适合某一特定目的的适销性。见 GNU通用公共许可证了解更多详细信息。

你应该收到GNU通用公共许可证的副本 以及地理节点。如果没有,请参见<;http://www.gnu.org/licenses/>;。

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

推荐PyPI第三方库


热门话题
java简明流语法处理用户输入   GoogleAppEngine Java中的计划电子邮件   java JDK目录未设置或无效(unity)?   java CountDownLatch会导致JFrame(JButtons等)中的内容消失,只有当鼠标悬停时才会返回   java如何将日期发送到游标?   在Java中执行groovy文件   与Oracle和Postgres兼容的java Spring数据类jpa查询   Google App Engine中的java“平台方法缺失”和“NoSuchMethod”错误   java无法到达请求映射端点,因此我收到404错误   mysql mysqldump在java中不起作用   java在spring mvc中如何将节点对象注入服务类?   尝试使用Java连接到mySQL服务器(工作台)时出错   JavaFX和MVP,对象在不应该被垃圾收集的时候被垃圾收集   java检查出生日期是否在3个整数中有效(mm/dd/yyyy)