Comments (4)
天地图公开的token有严格的数据抓取限制,最好个人申请自己的token,适当控制请求频率和瓦片总量,来下载数据,另外企业版免费额度较大,应该够小项目使用
from tiler.
请问怎样将默认的谷歌地址改为天地图的呢,这边默认下载是谷歌的,需要设置那些呢
from tiler.
修改配置文件中的url连接即可
可以通过浏览器的F12查看地图网站的网络请求,然后把请求中的级别和行列号分别用{z},{y},{x}代替就行了。
url = "https://t0.tianditu.gov.cn/img_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=img&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles&TILECOL={x}&TILEROW={y}&TILEMATRIX={z}&tk=75f0434f240669f4a2df6359275146d2"
from tiler.
当然这个默认地址就可以直接下载,代码中我已经处理了天地图的429限制o( ̄︶ ̄)o
from tiler.
Related Issues (12)
- 下载完的瓦片在哪里? HOT 2
- 如何获取 x、y、z? HOT 4
- 怎么下载百度地图的 求 HOT 3
- 下载后的文件并不完整相比我浏览器手动下载的文件更小 HOT 2
- 下载数据时有额外的execute.bat HOT 1
- 本地运行调试报conn.LoadExtension undefined (type *sqlite3.SQLiteConn has no field or method LoadExtension)错误! HOT 1
- 运行时报错 panic: runtime error: invalid memory address or nil pointer dereference HOT 1
- 下载好的mbt格式,在qgis中无法打开呢? HOT 1
- 无法下载谷歌地图 HOT 1
- 您好,请问能否只下载output目录不存在的瓦片地图? HOT 1
- 天地图下层级多了会封IP或者key吗 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tiler.