-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy pathconf.toml
52 lines (51 loc) · 1.61 KB
/
conf.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[app]
version = "v 0.1.0"
title = "MapCloud Tiler"
[output]
#can be mbtiles/file
format ="file"
#the output dir
directory ="output"
[task]
#number of fetchers
workers = 3
#number of savers
savepipe = 1
#min request interval, a speed limit, unit millisecond
timedelay = 50
[tm]
#name for mbtiles
name = "google satelite"
#max and min level for mbtiles
min = 0
max = 11
#can be pbf/png/jpg
format = "jpg"
#can be xyz/tm
schema = "xyz"
#the vector tiles metadata tilejson
# json = ""
#url is the schema url of tiles
# url = "https://api.mapbox.com/v4/mapbox.mapbox-streets-v8/{z}/{x}/{y}.vector.pbf?sku=1016gFniej06a&access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4M29iazA2Z2gycXA4N2pmbDZmangifQ.-g_vE53SD2WrJ6tFX7QHmA"
# url = "https://api.mapbox.com/v4/mapbox.mapbox-terrain-v2/{z}/{x}/{y}.vector.pbf?sku=1016gFniej06a&access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4M29iazA2Z2gycXA4N2pmbDZmangifQ.-g_vE53SD2WrJ6tFX7QHmA"
# url = "https://api.maptiler.com/tiles/v3/{z}/{x}/{y}.pbf?key=KDhMfHvorAFkFe64wlZb"
# url = "http://mt0.google.com/vt/lyrs=s&x={x}&y={y}&z={z}"
# url = "https://t0.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk=75f0434f240669f4a2df6359275146d2"
url = "https://t0.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=75f0434f240669f4a2df6359275146d2"
#lrs can set diff boundaries for diff levels
[[lrs]]
min = 0
max = 5
geojson = "./geojson/global.geojson"
[[lrs]]
min = 6
max = 8
geojson = "./geojson/china.geojson"
[[lrs]]
min = 9
max = 10
geojson = "./geojson/jiangsu.geojson"
[[lrs]]
min = 11
max = 11
geojson = "./geojson/nanjing.geojson"