xjhelp
xjhelp
使用此源码部署失败,老师帮忙给个部署文档呀
(myenv) locus@locus:~/cntms$ ls demo.html LICENSE prcoords.py README.md requirements.txt tmsapi.ini tms.py (myenv) locus@locus:~/cntms$ python tms.py Traceback (most recent call last): File "tms.py", line 20, in import pycurl ModuleNotFoundError: No module named...
安装了上面的东西,依然出现下面错误 (myenv) locus@locus:~/cntms$ python tms.py Traceback (most recent call last): File "tms.py", line 20, in import pycurl ModuleNotFoundError: No module named 'pycurl' (myenv) locus@locus:~/cntms$
需要安装nginx还是Apache web访问端口是6700吗?
克隆下来的源码不需要修改什么吧?
收到,我在折腾试试看,完全不懂pyton,搞的头蒙的,谢谢老师
又尝试搞了几个小时,虽然安装了pycurl 等依赖,不在报错可是不能显示地图页面... 明天继续折腾
老师我这终于折腾出来了,但是发现一个问题,怎么才能使用512切片呢 像是谷歌定义的切片有4种分别是 scale=1 256 scale=2 512 scale=3 768 scale=4 1024 貌似只能使用256的切片,其它虽然也可以显示但是位置是错乱的 还有投影类型,像是谷歌和bing腾讯,这三家使用的投影也不一样,这个源码里有定义投影参数吗?
还一个问题我demo.html预览页面报404,不能在电脑上显示出来 (myenv) locus@locus:~/cntms$ python tms.py 404 GET /demo.html (192.168.5.10) 0.55ms 404 GET /favicon.ico (192.168.5.10) 0.61ms 404 GET /demo.html (192.168.5.10) 0.58ms 404 GET /intex.html (192.168.5.10) 0.55ms 404 GET /index.html (192.168.5.10) 0.51ms...
[bing-satellite] name = 必应 卫星 url = http://t{s}.dynamic.tiles.ditu.live.com/comp/ch/{x}{y}{z}?mkt=zh-cn&it=A&shading=hill&og=8&n=z s = 0,1,2,3 type = tms attribution = © 2023 Microsoft [bing-normal] name = 必应 地图 url = http://t{s}.dynamic.tiles.ditu.live.com/comp/ch/{x}{y}{z}?mkt=zh-cn&it=G,LC,BX,L&cstl=SN&shading=hill&og=1982&n=z s = 0,1,2,3...