blob: af8d73c9fb41ac16dea2df3e42f60b481402ba9f (
plain)
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
|
---
SRS: 'EPSG:3006' # a.k.a. SWEREF99 TM, cf. https://epsg.io/3006
extent:
# Lantmäteriet uses a tile-scheme where the origin (upper-left corner) is at
# N8500000 E-1200000 (SWEREF99 TM), where each tile is 256×256 pixels, and
# where the resolution at level 0 is 4096m per pixel.
#
# https://www.lantmateriet.se/globalassets/geodata/geodatatjanster/tb_twk_visning_cache_v1.1.0.pdf
# https://www.lantmateriet.se/globalassets/geodata/geodatatjanster/tb_twk_visning-oversiktlig_v1.0.3.pdf
#
# We set the extent to a 4×4 tiles square at level 2 somehow centered on
# Norrbotten and Västerbotten. This represent a TILEROW (x) offset of 5, and
# a TILECOL (y) offset of 2. A 4×8 tiles rectangle with the same upper-left
# and upper-right coordinates can be used to cover the entire country.
- 110720
- 6927136 # alternatively 5878560 for the entire country
- 1159296
- 7975712
# Take User-Agent value from Tor Browser 13.0.15 (based on Mozilla Firefox 115.11.0esr)
User-Agent: 'Mozilla/5.0 (Windows NT 10.0; rv:109.0) Gecko/20100101 Firefox/115.0'
# Map group names to one or more pattern of layer name(s). This is a
# convenience feature for systemd template units.
layer-groups:
nvr: 'nvr:*'
sks: 'sks:*'
st: 'st:*'
vbk: 'vbk:*'
mrr: 'mrr:*'
layers:
# # Keys are layer names in the output dataset. Values are list of dictionaries
# # specifying source data and conversion information for these layers. If a
# # layer has a single source, then it can be inlined instead.
# layer1_name:
# - source:
# download:
# # source:download:url: URL from where to download the source file.
# # source:download can be used as an alias when source:download:url is
# # its only subkey.
# url: 'https://example.net/path/to/layer.zip'
# # source:download:max-size: The maximum size to download in bytes. An
# # error is raised when the payload size exceeds this value.
# # (Default: 67108864, in other words 64MiB)
# max-size: 1073741824
# # source:download:module: Basename of the download module to use for
# # that layer.
# module: webmap-download
# cache:
# # source:cache:path: Local path (relative to --cachedir) where to
# # (atomically) save the downloaded file. The same path can be used by
# # multiple entries as long as their pairs (source:download:url,
# # source:download:module) match. Any parent directories are created if
# # needed.
# # If the path is empty or ends with a '/' character then it treated as a
# # directory and the last component of source:download:url implicitly
# # used as filename. In that case an error is raised if no filename can
# # be derived from the URL.
# # source:cache can be used as an alias when source:cache:path is its
# # only subkey.
# path: path/to/sub/dir/
# # source:cache:max-age: Maximum age for caching, in number of seconds
# # ago. If source:cache:path exists and its mtime and/or ctime is newer
# # than this value then no HTTP query is made.
# # (Default: 21600, in other words 6h)
# max-age: 86400
'nvr:TILLTRADESFORBUD':
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/TILLTRADESFORBUD.zip'
cache: naturvardsregistret/
'nvr:NP':
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/NP.zip'
cache: naturvardsregistret/
'nvr:NR':
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/NR.zip'
cache: naturvardsregistret/
'nvr:NVO':
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/NVO.zip'
cache: naturvardsregistret/
'nvr:DVO':
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/DVO.zip'
cache: naturvardsregistret/
'nvr:KR':
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/KR.zip'
cache: naturvardsregistret/
'nvr:VSO':
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/VSO.zip'
cache: naturvardsregistret/
'nvr:LBSO':
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/LBSO.zip'
cache: naturvardsregistret/
'nvr:OBO':
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/OBO.zip'
cache: naturvardsregistret/
'nvr:NM':
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/NM.zip'
cache: naturvardsregistret/
'nvr:IF':
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/IF.zip'
cache: naturvardsregistret/
'nvr:SPA_Rikstackande':
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/SPA_Rikstackande.zip'
cache: naturvardsregistret/
'nvr:SCI_Rikstackande':
source:
download:
url: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/SCI_Rikstackande.zip'
max-size: 134217728 # 128MiB
cache: naturvardsregistret/
'nvr:HELCOM':
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/HELCOM.zip'
cache: naturvardsregistret/
'nvr:Ramsar_2018':
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/Ramsar_2018.zip'
cache: naturvardsregistret/
'nvr:OSPAR':
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/OSPAR.zip'
cache: naturvardsregistret/
'nvr:Varldsarv':
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/Varldsarv.zip'
cache: naturvardsregistret/
'nvr:biosfarsomraden':
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/biosfarsomraden.zip'
cache: naturvardsregistret/
'nvr:NVA':
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/NVA.zip'
cache: naturvardsregistret/
'sks:AvverkAnm':
source:
download:
url: 'https://geodpags.skogsstyrelsen.se/geodataport/data/sksAvverkAnm.zip'
max-size: 134217728 # 128MiB
cache: sks/
'sks:UtfordAvverk':
- source:
download:
url: 'https://geodpags.skogsstyrelsen.se/geodataport/data/sksUtfordAvverk-2000-2015.zip'
max-size: 805306368 # 768MiB
cache:
path: sks/
max-age: 2592000 # 30d
- source:
download:
url: 'https://geodpags.skogsstyrelsen.se/geodataport/data/sksUtfordAvverk-2016-2019.zip'
max-size: 805306368 # 768MiB
cache:
path: sks/
max-age: 2592000 # 30d
- source:
download:
url: 'https://geodpags.skogsstyrelsen.se/geodataport/data/sksUtfordAvverk-2020-2022.zip'
max-size: 805306368 # 768MiB
cache:
path: sks/
max-age: 864000 # 10d
- source:
download:
url: 'https://geodpags.skogsstyrelsen.se/geodataport/data/sksUtfordAvverk-2023-.zip'
max-size: 1073741824 # 1GiB
cache: sks/
'st:betesomraden':
source:
download: 'https://ext-dokument.lansstyrelsen.se/Gemensamt/Geodata/Datadistribution/SWEREF99TM/Sametinget/Samebyarnas_betesomraden.zip'
cache: sametinget/
'st:markanvandning':
source:
download: 'http://ext-dokument.lansstyrelsen.se/Gemensamt/Geodata/Datadistribution/SWEREF99TM/Sametinget/Samebyarnas_markanvandningsredovisning.zip'
cache: sametinget/
'vbk:vindkraftverk':
source:
download: 'https://ext-dokument.lansstyrelsen.se/gemensamt/geodata/ShapeExport/lst.vbk_vindkraftverk.zip'
cache: vbk/
'vbk:projekteringsomraden':
source:
download: 'https://ext-dokument.lansstyrelsen.se/gemensamt/geodata/ShapeExport/lst.vbk_projekteringsomraden.zip'
cache: vbk/
# The list of layers available on the WMS server can be found at
# https://maps3.sgu.se/geoserver/wms?SERVICE=WMS&VERSION=1.11&REQUEST=GetCapabilities
'mrr:bearbetningskoncessioner_applied':
source:
download:
module: webmap-download-mrr
layername: 'MRR:SE.GOV.SGU.MRR.BEARBETNINGSKONCESSIONER_APPLIED_VY'
cache: mrr/bearbetningskoncessioner_applied.geojson
'mrr:bearbetningskoncessioner_approved':
source:
download:
module: webmap-download-mrr
layername: 'MRR:SE.GOV.SGU.MRR.BEARBETNINGSKONCESSIONER_APPROVED_VY'
cache: mrr/bearbetningskoncessioner_approved.geojson
'mrr:markanvisningar':
source:
download:
module: webmap-download-mrr
layername: 'MRR:SE.GOV.SGU.MRR.MARKANVISNINGAR_VY'
cache: mrr/markanvisningar.geojson
'mrr:mineral_applied':
source:
download:
module: webmap-download-mrr
layername: 'MRR:SE.GOV.SGU.MRR.MINERAL_APPLIED_VY'
cache: mrr/mineral_applied.geojson
'mrr:mineral_approved':
source:
download:
module: webmap-download-mrr
layername: 'MRR:SE.GOV.SGU.MRR.MINERAL_APPROVED_VY'
cache: mrr/mineral_approved.geojson
# 'mrr:mineral_expired':
# source:
# download:
# module: webmap-download-mrr
# layername: 'MRR:SE.GOV.SGU.MRR.MINERAL_EXPIRED_2'
# cache: mrr/mineral_expired.geojson
# 'mrr:mineral_prohibited':
# source:
# download:
# module: webmap-download-mrr
# layername: 'MRR:SE.GOV.SGU.MRR.MINERAL_PROHIBITED_2'
# cache: mrr/mineral_prohibited.geojson
# 'mrr:ogd_expired':
# source:
# download:
# module: webmap-download-mrr
# layername: 'MRR:SE.GOV.SGU.MRR.OGD_EXPIRED_2'
# cache: mrr/ogd_expired.geojson
# 'mrr:ogd_prohibited':
# source:
# download:
# module: webmap-download-mrr
# layername: 'MRR:SE.GOV.SGU.MRR.OGD_PROHIBITED_2'
# cache: mrr/ogd_prohibited.geojson
'mrr:olja_gas_diamant_applied':
source:
download:
module: webmap-download-mrr
layername: 'MRR:SE.GOV.SGU.MRR.OLJA_GAS_DIAMANT_APPLIED_VY'
cache: mrr/olja_gas_diamant_applied.geojson
'mrr:olja_gas_diamant_approved':
source:
download:
module: webmap-download-mrr
layername: 'MRR:SE.GOV.SGU.MRR.OLJA_GAS_DIAMANT_APPROVED_VY'
cache: mrr/olja_gas_diamant_approved.geojson
'mrr:torvkoncessioner':
source:
download:
module: webmap-download-mrr
layername: 'MRR:SE.GOV.SGU.MRR.TORVKONCESSIONER_VY'
cache: mrr/torvkoncessioner.geojson
|