aboutsummaryrefslogtreecommitdiffstats
path: root/config.yml
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2024-10-18 15:57:02 +0200
committerGuilhem Moulin <guilhem@fripost.org>2024-10-18 17:26:18 +0200
commita40c3c3e5739608ee21632b67006eddd3309b367 (patch)
tree749e137ced977bd6ca3f4ca49304e24a339db01b /config.yml
parent7cb7e29ad8250cc9f0fe75848282fda3d2c5b914 (diff)
Add layers for Naturvårdsverkets and Länsstyrelserns Riksintressen.
Cf. https://skyddadnatur.naturvardsverket.se/ . We exclude Nationalstadspark (MB 4 kap 7§) since the only entry is in Stockholm (Kungliga nationalstadsparken, Ulriksdal-Haga-Brunnsviken-Djurgården) outside our extent.
Diffstat (limited to 'config.yml')
-rw-r--r--config.yml304
1 files changed, 304 insertions, 0 deletions
diff --git a/config.yml b/config.yml
index 7148f5c..683b85d 100644
--- a/config.yml
+++ b/config.yml
@@ -66,6 +66,7 @@ layer-groups:
- 'ren:*'
vbk: 'vbk:*'
mrr: 'mrr:*'
+ ri: 'ri:*'
# Global GDAL/OGR configuration options, cf. https://gdal.org/user/configoptions.html and
@@ -3579,3 +3580,306 @@ layers:
with: '{0}-{1}-{2}'
type: regex
publish: appr_pc
+
+ 'ri:naturvard':
+ # https://geodatakatalogen.naturvardsverket.se/geonetwork/srv/swe/catalog.search#/metadata/fb9ff32f-b6f8-4d8e-ac5c-20ebb0986908
+ description: Riksintresse naturvård
+ create:
+ geometry-type: MULTIPOLYGON
+ fields:
+ - name: SKYDD
+ type: String
+ width: 64
+ nullable: false
+ - name: AMNESOMRAD
+ type: String
+ width: 64
+ nullable: false
+ - name: NAMN
+ type: String
+ width: 127
+ nullable: false
+ - name: BESKRIVNIN
+ type: String
+ width: 254
+ nullable: false
+ - name: LAGRUM
+ type: String
+ width: 64
+ nullable: false
+ - name: BESLUTSDAT
+ type: Date
+ nullable: false
+ - name: ORGINALID
+ type: String
+ width: 16
+ # XXX how come there is no UNIQUE constraint here?
+ unique: false
+ nullable: false
+ - name: RIKSID
+ type: Integer
+ # XXX how come there is no UNIQUE constraint here?
+ unique: false
+ nullable: false
+ source:
+ download: 'https://geodata.naturvardsverket.se/nedladdning/riksintresse/RI_Naturvard.zip'
+ cache: nvk/
+ unar:
+ format: zip
+ patterns:
+ - 'RIKSINTRESSE_NATURVARD.*'
+ import:
+ path: 'RIKSINTRESSE_NATURVARD.shp'
+ format: ESRI Shapefile
+ layername: RIKSINTRESSE_NATURVARD
+ publish: naturvard
+
+ 'ri:friluftsliv':
+ # https://geodatakatalogen.naturvardsverket.se/geonetwork/srv/swe/catalog.search#/metadata/22afb5cb-cdb0-4f3a-8b0f-a34344285864
+ description: Riksintresse friluftsliv
+ create:
+ geometry-type: MULTIPOLYGON
+ fields:
+ - name: SKYDD
+ type: String
+ width: 64
+ nullable: false
+ - name: OMRADESNR
+ type: String
+ width: 16
+ unique: true
+ nullable: false
+ - name: AMNESOMR
+ type: String
+ width: 16
+ nullable: false
+ - name: NAMN
+ type: String
+ width: 127
+ nullable: false
+ - name: LANK_VARDE
+ type: String
+ width: 127
+ nullable: false
+ - name: BESLDATUM
+ type: Date
+ - name: LAGRUM
+ type: String
+ width: 64
+ nullable: false
+ - name: ARENDENR
+ type: String
+ width: 11
+ nullable: false
+ - name: LANK_BESLU
+ type: String
+ width: 127
+ nullable: false
+ - name: AKTIVITET
+ type: String
+ width: 127
+ - name: NATURTYP
+ type: String
+ width: 127
+ - name: AREA_LAND_
+ # XXX convert to m²?
+ type: Real
+ comment: Areal land i hektar
+ - name: AREA_VATTE
+ # XXX convert to m²?
+ type: Real
+ comment: Areal vatten i hektar
+ source:
+ download: 'https://geodata.naturvardsverket.se/nedladdning/riksintresse/RI_Friluftsliv.zip'
+ cache: nvk/
+ unar:
+ format: zip
+ patterns:
+ - 'RIKSINTRESSE_FRILUFTSLIV.*'
+ import:
+ path: 'RIKSINTRESSE_FRILUFTSLIV.shp'
+ format: ESRI Shapefile
+ layername: RIKSINTRESSE_FRILUFTSLIV
+ publish: friluftsliv
+
+ 'ri:rorligt_friluftsliv':
+ # https://ext-geodatakatalog-forv.lansstyrelsen.se/PlaneringsKatalogen/GetMetaDataById?id=22afb5cb-cdb0-4f3a-8b0f-a34344285864_C
+ description: Rörligt friluftsliv (MB 4 kap 1§ och 2§)
+ create:
+ geometry-type: MULTIPOLYGON
+ fields:
+ - name: ORIGINALID
+ type: String
+ width: 16
+ - name: NAMN
+ type: String
+ width: 64
+ - name: BESKRIVNIN
+ type: String
+ width: 254
+ - name: METODBESKR
+ type: String
+ width: 254
+ - name: TILLKDATUM
+ type: Date
+ - name: REVDATUM
+ type: Date
+ - name: ANM
+ type: String
+ width: 254
+ - name: OBJEKTLANK
+ type: String
+ width: 254
+ - name: REFERENS
+ type: String
+ width: 254
+ source:
+ download: 'https://ext-dokument.lansstyrelsen.se/gemensamt/geodata/ShapeExport/lst.LST_RI_Rorligt_friluftsliv_MB4kap2.zip'
+ cache: lst/
+ unar:
+ format: zip
+ patterns:
+ - 'lst.LST_RI_Rorligt_friluftsliv_MB4kap2.*'
+ import:
+ path: 'lst.LST_RI_Rorligt_friluftsliv_MB4kap2.shp'
+ format: ESRI Shapefile
+ layername: lst.LST_RI_Rorligt_friluftsliv_MB4kap2
+ publish: rorligt_friluftsliv
+
+ 'ri:obruten_kust':
+ # https://ext-geodatakatalog.lansstyrelsen.se/GeodataKatalogen/srv/api/records/GetMetaDataById?id=2b5b141f-a9a4-433a-8dc7-bf983acdb859
+ description: Obruten kust (MB 4 kap 3§)
+ create:
+ geometry-type: MULTIPOLYGON
+ fields:
+ - name: ORIGINALID
+ type: String
+ width: 16
+ - name: NAMN
+ type: String
+ width: 64
+ - name: BESKRIVNIN
+ type: String
+ width: 254
+ - name: METODBESKR
+ type: String
+ width: 254
+ - name: TILLKDATUM
+ type: Date
+ - name: REVDATUM
+ type: Date
+ - name: ANM
+ type: String
+ width: 254
+ - name: OBJTYP
+ type: String
+ width: 254
+ - name: OBJEKTLANK
+ type: String
+ width: 254
+ - name: REFERENS
+ type: String
+ width: 254
+ source:
+ download: 'https://ext-dokument.lansstyrelsen.se/gemensamt/geodata/ShapeExport/lst.LST_RI_Obruten_kust_MB4kap3.zip'
+ cache: lst/
+ unar:
+ format: zip
+ patterns:
+ - 'lst.LST_RI_Obruten_kust_MB4kap3.*'
+ import:
+ path: 'lst.LST_RI_Obruten_kust_MB4kap3.shp'
+ format: ESRI Shapefile
+ layername: lst.LST_RI_Obruten_kust_MB4kap3
+ publish: obruten_kust
+
+ 'ri:obrutet_fjall':
+ # https://ext-geodatakatalog.lansstyrelsen.se/GeodataKatalogen/srv/api/records/GetMetaDataById?id=b1d59cb0-2e71-4c08-b99d-e4cc7507cb92
+ description: Obrutet fjäll (MB 4 kap 5§)
+ create:
+ geometry-type: MULTIPOLYGON
+ fields:
+ - name: ORIGINALID
+ type: String
+ width: 16
+ unique: true
+ - name: NAMN
+ type: String
+ width: 64
+ nullable: false
+ - name: BESKRIVNIN
+ type: String
+ width: 254
+ - name: METODBESKR
+ type: String
+ width: 254
+ - name: TILLKDATUM
+ type: Date
+ - name: REVDATUM
+ type: Date
+ - name: OBJEKTLANK
+ type: String
+ width: 254
+ - name: REFERENS
+ type: String
+ width: 254
+ source:
+ download: 'https://ext-dokument.lansstyrelsen.se/gemensamt/geodata/ShapeExport/lst.Lst_RI_Obrutet_fjall_MB4kap5.zip'
+ cache: lst/
+ unar:
+ format: zip
+ patterns:
+ - 'lst.Lst_RI_Obrutet_fjall_MB4kap5.*'
+ import:
+ path: 'lst.Lst_RI_Obrutet_fjall_MB4kap5.shp'
+ format: ESRI Shapefile
+ layername: lst.Lst_RI_Obrutet_fjall_MB4kap5
+ publish: obrutet_fjall
+
+ 'ri:skyddade_vattendrag':
+ # https://ext-geodatakatalog.lansstyrelsen.se/GeodataKatalogen/srv/api/records/GetMetaDataById?id=61e21a50-4320-4db4-8e44-56252dab777e
+ description: Skyddade vattendrag (MB 4 kap 6§)
+ create:
+ geometry-type: MULTIPOLYGON
+ fields:
+ - name: ORIGINALID
+ type: String
+ width: 16
+ unique: true
+ - name: NAMN
+ type: String
+ width: 64
+ nullable: false
+ - name: BESKRIVNIN
+ type: String
+ width: 254
+ - name: METODBESKR
+ type: String
+ width: 254
+ - name: TILLKDATUM
+ type: Date
+ - name: REVDATUM
+ type: Date
+ - name: ANM
+ type: String
+ width: 254
+ - name: DIG_SKALA
+ type: Integer
+ - name: OBJEKTLANK
+ type: String
+ width: 254
+ - name: REFERENS
+ type: String
+ width: 254
+ source:
+ download: 'https://ext-dokument.lansstyrelsen.se/gemensamt/geodata/ShapeExport/lst.LST_RI_Skyddade_vattendrag_MB4kap6.zip'
+ cache: lst/
+ unar:
+ format: zip
+ patterns:
+ - 'lst.LST_RI_Skyddade_vattendrag_MB4kap6.*'
+ import:
+ path: 'lst.LST_RI_Skyddade_vattendrag_MB4kap6.shp'
+ format: ESRI Shapefile
+ layername: lst.LST_RI_Skyddade_vattendrag_MB4kap6
+ publish: skyddade_vattendrag