1,下载tippecanoe安装包 tippecanoe-master.zip
https://github.com/mapbox/tippecanoe
将tippecanoe-master.zip上传到linux系统中
2,解压,重命名
unzip tippecanoe-master.zip
mv tippecanoe-master tippecanoe
3,安装相关依赖
tippecanoe的编译需要依赖sqlite-devel和zlib
sqlite的下载地址如下,下载后sqlite-tools-win32-x86-3300100.zip
http://www.sqlite.org/sqlite-autoconf-3070500.tar.gz
tar -zxvf sqlite-autoconf-3070500.tar.gz //解压
cd sqlite-autoconf-3070500 //进入到指定目录
./configure //运行配置
make //编译
sudo make install //安装
zlib下载地址如下,下载后zlib-1.2.11.tar.gz
http://www.zlib.net
tar -zxvf zlib-1.2.11.tar.gz
cd zlib.1.2.11
./configure
make test
make install
4,安装tippecanoe
以上两个依赖安装完成后
cd tippecanoe //进入到tippecanoe
make //编译
make install //安装
tippecanoe -version //查看是否看装成功
使用yum安装
1.1 将tippecanoe-master.zip上传到服务器上,解压,重命名。
unzip tippecanoe-master.zip
mv tippecanoe-master tippecanoe
1.2 下载sqlite-devel.x86_64
yum install sqlite-devel.x86_64
1.3 下载zlib-devel.x86_64
yum install zlib-devel.x86_64
1.4 cd tippecanoe 编译
make && make install
网友评论