aboutsummaryrefslogtreecommitdiffstats
path: root/config.yml
diff options
context:
space:
mode:
Diffstat (limited to 'config.yml')
-rw-r--r--config.yml94
1 files changed, 94 insertions, 0 deletions
diff --git a/config.yml b/config.yml
index 029e60b..af8d73c 100644
--- a/config.yml
+++ b/config.yml
@@ -1,4 +1,22 @@
---
+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'
@@ -9,6 +27,7 @@ layer-groups:
sks: 'sks:*'
st: 'st:*'
vbk: 'vbk:*'
+ mrr: 'mrr:*'
layers:
@@ -199,3 +218,78 @@ layers:
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