debian 64位安装tilecache 过程

来源:互联网 发布:淘宝卖qq号码是真的吗 编辑:程序博客网 时间:2024/06/06 06:52

1.apt-get install python

2.apt-get install tilecache python-mapscript

3.apt-get install python-setuptools

4.wget http://pypi.python.org/packages/source/P/Paste/Paste-1.7.5.1.tar.gz

5.tar -xvzf Paste-1.7.5.1.tar.gz

6.cd Paste-1.7.5.1

7.python setup.py install

8.tilecache_http_server -p 8190   #设置web服务器的端口为8190

或者用tilecache_http_server -p 8190 -t true

9.测试是否安装成功
http://192.168.1.101:8190/tilecache/tilecache.cgi?LAYERS=basic&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=-180,-90,0,90%20&WIDTH=256&HEIGHT=256
http://192.168.1.101:8190/1.0.0/basic/0/0/0.png

10.参考网址:http://tilecache.org/docs/README.html

11.查看版本号

tilecache_seed --version

12.用tilecache的客户端

tilecache_seed /etc/tilecache.cfg basic -180.0,-90.0,180.0,90.0 8 9 10

注意此命令的使用为tilecache1.0,新版本命令有所变化。



原创粉丝点击