forked from kartotherian/kartotherian
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsources.prod2.yaml
61 lines (58 loc) · 1.61 KB
/
sources.prod2.yaml
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
53
54
55
56
57
58
59
60
61
# Cassandra storage
v3:
uri: cassandra://
params:
maxzoom: 16
keyspace: v3
cp: {var: cassandra-servers}
username: {var: cassandra-user}
password: {var: cassandra-pswd}
# repfactor: 4
# durablewrite: 0
# createIfMissing: false
# OSM PBF source
osm-pbf:
public: true
formats: [pbf]
uri: overzoom://
params:
source: {ref: v3}
maxzoom: 18
overrideInfo:
attribution: 'Map data © <a href="http://openstreetmap.org/copyright">OpenStreetMap contributors</a>'
tiles: ["https://maps.wikimedia.org/osm-pbf/{z}/{x}/{y}.pbf"]
# OSM map with international labeling - will be used as default
osm-intl:
public: true
formats: [png,json,headers,svg,jpeg]
scales: [1.3, 1.5, 2, 2.6, 3]
maxzoom: 18
static: true
maxheight: 2048
maxwidth: 2048
uri: vector://
xml:
loader: "@kartotherian/osm-bright-style"
xmlSetParams:
source: {ref: osm-pbf}
overrideInfo:
attribution: 'Map data © <a href="http://openstreetmap.org/copyright">OpenStreetMap contributors</a>'
tiles: ["https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png"]
# OSM map without any labels
osm:
public: true
formats: [png,json,headers,svg,jpeg]
scales: [1.3, 1.5, 2, 2.6, 3]
maxzoom: 18
static: true
maxheight: 2048
maxwidth: 2048
uri: vector://
xml:
loader: "@kartotherian/osm-bright-style"
xmlSetParams:
source: {ref: osm-pbf}
xmlExceptLayers: ['country_label', 'place_label', 'poi_label']
overrideInfo:
attribution: 'Map data © <a href="http://openstreetmap.org/copyright">OpenStreetMap contributors</a>'
tiles: ["https://maps.wikimedia.org/osm/{z}/{x}/{y}.png"]