1,下載tippecanoe安裝包 tippecanoe-master.zip
https://github.com/mapbox/tippecanoe
將tippecanoe-master.zip上傳到linux系統(tǒng)中
2,解壓,重命名
unzip tippecanoe-master.zip
mv tippecanoe-master tippecanoe
3,安裝相關(guān)依賴
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 //進(jìn)入到指定目錄
./configure //運(yùn)行配置
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
以上兩個(gè)依賴安裝完成后
cd tippecanoe //進(jìn)入到tippecanoe
make //編譯
make install //安裝
tippecanoe -version //查看是否看裝成功
使用yum安裝
1.1 將tippecanoe-master.zip上傳到服務(wù)器上,解壓,重命名。
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