Google Earth Enterpripse (GEE)之Portable Server部署

本文详细介绍如何从GitHub下载Google Earth Enterprise (GEE) PortableServer的源代码,并在Linux环境下进行构建部署。包括必要的环境配置,如安装GCC、Python、pip等依赖库,以及使用build.py脚本进行编译的具体步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 

这篇文章首先记录   Portable Server部署

GEE的GitHub地址:https://github.com/google/earthenterprise/

一.源代码下载

在GEE的github页面稳定版本下载:

 

 

 

tar.gz后缀的文件一般用于linux系统,zip后缀的文件一般用于windows,前面两个与后面两个的区别在哪里呢?

二、Building on Linux

    

1.Portable Server的安装部署指导页面https://github.com/google/earthenterprise/wiki/Portable-Server

环境需求如下:

2.Getting a Build Environment

sudo yum -y install gcc-c++ python python-pip python-tornado swig python-psycopg2
sudo pip install pexpect

只能支持python 2.7.*版本。2.7版本没有自带pip模块,首先给python安装pip

然后通过pip来安装pexpect (用yum命令)、tornado、Imaging Library(PIL)---这个改名为Pillow(yum命令安装不了这个包)

 

3.Building


cd  earthenterprise/earth_enterprise/src/portableserver

./build.py

开始编译:

To clean build files, run
cd  earthenterprise/earth_enterprise/src/portableserver

./build.py --clean

 

 

GEE主要是用C++编写的,也有部分用了python,SWIG就是把两者联系起来的接口

SWIG安装部署参考这篇文章:SWIG简单介绍和安装到WINDOWS

G++安装部署参考这篇文件:安装g++ Compiler 到Windows

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值