aboutsummaryrefslogtreecommitdiffstats
path: root/config.yml
diff options
context:
space:
mode:
Diffstat (limited to 'config.yml')
-rw-r--r--config.yml1616
1 files changed, 1596 insertions, 20 deletions
diff --git a/config.yml b/config.yml
index 88201b0..6fe026d 100644
--- a/config.yml
+++ b/config.yml
@@ -54,7 +54,12 @@ layer-groups:
administrativindelning:
- lansyta
- kommunyta
- nvr: 'nvr:*'
+ nvr:
+ - 'nvr:*'
+ # naturvårdsavtal isn't part of naturvårdsregistret, but we include them
+ # anyway since both refer to restricted/protected nature and users
+ # are likely to be interested in both
+ - 'nva:*'
sks: 'sks:*'
ren:
- 'sametinget:*'
@@ -357,102 +362,1673 @@ layers:
- kommunkod
- 'nvr:TILLTRADESFORBUD':
+ 'nvr:Tilltradesforbud':
+ # https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/Naturvardsregistret_beskrivning_av_oppna_data.pdf
+ description: Områden med föreskrifter som inskränker rätten att färdas eller vistas i området, permanent eller under en del av året
+ create:
+ geometry-type: MULTIPOLYGON
+ fields:
+ - name: NVRID
+ type: Integer
+ # XXX how come there is no UNIQUE constraint here?
+ unique: false
+ nullable: false
+ comment: Områdets unika ID i naturvårdsregistret
+ - name: BESLSTAT
+ type: String
+ width: 12
+ nullable: false
+ comment: Beslutsstatus
+ - name: FORESKRTYP
+ type: String
+ width: 16
+ nullable: false
+ - name: FORESKRIFT
+ type: String
+ width: 62
+ nullable: false
+ - name: FRANDATUM
+ type: String
+ width: 10
+ nullable: false
+ - name: TILLDATUM
+ type: String
+ width: 10
+ nullable: false
+ - name: BESKRIVN
+ type: String
+ width: 254
+ - name: OBJEKTNAMN
+ type: String
+ width: 254
+ nullable: false
+ - name: FORSKRNAMN
+ type: String
+ width: 254
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/TILLTRADESFORBUD.zip'
cache: naturvardsregistret/
+ unar:
+ format: zip
+ patterns:
+ - 'Tilltradesforbud.*'
+ import:
+ path: 'Tilltradesforbud.shp'
+ format: ESRI Shapefile
+ layername: Tilltradesforbud
+ publish: tilltradesforbud
- 'nvr:NP':
+ 'nvr:Nationalpark':
+ # https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/Naturvardsregistret_beskrivning_av_oppna_data.pdf
+ description: Nationalparker
+ create:
+ geometry-type: MULTIPOLYGON
+ fields:
+ - name: NVRID
+ type: Integer
+ unique: true
+ nullable: false
+ comment: Områdets unika ID i naturvårdsregistret
+ - name: NAMN
+ type: String
+ width: 62
+ nullable: false
+ comment: Områdets namn
+ - name: SKYDDSTYP
+ type: String
+ width: 32
+ nullable: false
+ comment: Skyddstyp
+ - name: BESLSTATUS
+ type: String
+ width: 12
+ nullable: false
+ comment: Beslutsstatus
+ - name: URSBESLDAT
+ type: Date
+ nullable: false
+ comment: Ursprungligt beslutsdatum
+ - name: IKRAFTDATF
+ type: Date
+ comment: Ikraftträdandedatum för föreskrifte
+ - name: URSGALLDAT
+ type: Date
+ comment: Ursprungligt gällandedatum
+ - name: SENGALLDAT
+ type: Date
+ comment: Senaste gällandedatum
+ - name: IUCNKAT
+ alias: IUCNkategori
+ type: String
+ width: 254
+ nullable: false
+ comment: Klassificering av skyddade områden enligt internationella naturvårdsunionens
+ - name: FORVALTARE
+ type: String
+ width: 62
+ nullable: false
+ comment: Förvaltare för området
+ - name: LAND_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Areal land i hektar (våtmarker ingår i landarealen)
+ - name: VATTEN_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Areal vatten i hektar (både sötvatten och marint vatten ingår)
+ - name: SKOG_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Skogsmarksareal i hektar
+ - name: GEOSTATUS
+ type: String
+ width: 62
+ nullable: false
+ comment: Hur ytter gränsen för området har mätts in
+ - name: DIARIENR
+ type: String
+ width: 62
+ nullable: true
+ comment: Diarienummer i beslutande myndighets diarium
+ - name: LAGRUM
+ type: String
+ width: 16
+ nullable: false
+ comment: Lagrum som använts som grund för beslutet
+ - name: BESLMYND
+ type: String
+ width: 32
+ nullable: false
+ comment: Beslutsmyndighet
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/NP.zip'
cache: naturvardsregistret/
+ unar:
+ format: zip
+ patterns:
+ - 'NP/NP_polygon.*'
+ import:
+ path: 'NP/NP_polygon.shp'
+ format: ESRI Shapefile
+ layername: NP_polygon
+ value-map:
+ DIARIENR:
+ - replace: 'xxxxxx'
+ with: null
+ publish: nationalpark
- 'nvr:NR':
+ 'nvr:Naturreservat':
+ # https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/Naturvardsregistret_beskrivning_av_oppna_data.pdf
+ description: Naturreservat
+ create:
+ geometry-type: MULTIPOLYGON
+ fields:
+ - name: NVRID
+ type: Integer
+ # XXX how come there is no UNIQUE constraint here?
+ unique: false
+ nullable: false
+ comment: Områdets unika ID i naturvårdsregistret
+ - name: NAMN
+ type: String
+ width: 128
+ nullable: false
+ comment: Områdets namn
+ - name: SKYDDSTYP
+ type: String
+ width: 32
+ nullable: false
+ comment: Skyddstyp
+ - name: BESLSTATUS
+ type: String
+ width: 12
+ nullable: false
+ comment: Beslutsstatus
+ - name: URSBESLDAT
+ type: Date
+ nullable: false
+ comment: Ursprungligt beslutsdatum
+ - name: IKRAFTDATF
+ type: Date
+ comment: Ikraftträdandedatum för föreskrifte
+ - name: URSGALLDAT
+ type: Date
+ comment: Ursprungligt gällandedatum
+ - name: SENGALLDAT
+ type: Date
+ comment: Senaste gällandedatum
+ - name: IUCNKAT
+ alias: IUCNkategori
+ type: String
+ width: 254
+ nullable: false
+ comment: Klassificering av skyddade områden enligt internationella naturvårdsunionens
+ - name: FORVALTARE
+ type: String
+ width: 62
+ nullable: false
+ comment: Förvaltare för området
+ - name: LAND_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Areal land i hektar (våtmarker ingår i landarealen)
+ - name: VATTEN_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Areal vatten i hektar (både sötvatten och marint vatten ingår)
+ - name: SKOG_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Skogsmarksareal i hektar
+ - name: GEOSTATUS
+ type: String
+ width: 62
+ nullable: false
+ comment: Hur ytter gränsen för området har mätts in
+ - name: DIARIENR
+ type: String
+ width: 62
+ nullable: true
+ comment: Diarienummer i beslutande myndighets diarium
+ - name: LAGRUM
+ type: String
+ width: 16
+ comment: Lagrum som använts som grund för beslutet
+ - name: BESLMYND
+ type: String
+ width: 32
+ nullable: false
+ comment: Beslutsmyndighet
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/NR.zip'
cache: naturvardsregistret/
+ unar:
+ format: zip
+ patterns:
+ - 'NR/NR_polygon.*'
+ import:
+ path: 'NR/NR_polygon.shp'
+ format: ESRI Shapefile
+ layername: NR_polygon
+ value-map:
+ DIARIENR:
+ - replace: 'xxxxxx'
+ with: null
+ publish:
+ naturreservat:
+ where: |
+ "BESLMYND" IS NULL OR "BESLMYND" != 'Kommun'
+ naturreservat_kommunalt:
+ where: |
+ "BESLMYND" = 'Kommun'
- 'nvr:NVO':
+ 'nvr:Naturvardsomrade':
+ # https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/Naturvardsregistret_beskrivning_av_oppna_data.pdf
+ description: Naturvårdsområden
+ create:
+ geometry-type: MULTIPOLYGON
+ fields:
+ - name: NVRID
+ type: Integer
+ unique: true
+ nullable: false
+ comment: Områdets unika ID i naturvårdsregistret
+ - name: NAMN
+ type: String
+ width: 64
+ nullable: false
+ comment: Områdets namn
+ - name: SKYDDSTYP
+ type: String
+ width: 32
+ nullable: false
+ comment: Skyddstyp
+ - name: BESLSTATUS
+ type: String
+ width: 12
+ nullable: false
+ comment: Beslutsstatus
+ - name: URSBESLDAT
+ type: Date
+ nullable: false
+ comment: Ursprungligt beslutsdatum
+ - name: IKRAFTDATF
+ type: Date
+ comment: Ikraftträdandedatum för föreskrifte
+ - name: URSGALLDAT
+ type: Date
+ comment: Ursprungligt gällandedatum
+ - name: SENGALLDAT
+ type: Date
+ comment: Senaste gällandedatum
+ - name: IUCNKAT
+ alias: IUCNkategori
+ type: String
+ width: 254
+ nullable: false
+ comment: Klassificering av skyddade områden enligt internationella naturvårdsunionens
+ - name: FORVALTARE
+ type: String
+ width: 62
+ nullable: false
+ comment: Förvaltare för området
+ - name: LAND_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Areal land i hektar (våtmarker ingår i landarealen)
+ - name: VATTEN_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Areal vatten i hektar (både sötvatten och marint vatten ingår)
+ - name: SKOG_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Skogsmarksareal i hektar
+ - name: GEOSTATUS
+ type: String
+ width: 62
+ nullable: false
+ comment: Hur ytter gränsen för området har mätts in
+ - name: DIARIENR
+ type: String
+ width: 62
+ nullable: true
+ comment: Diarienummer i beslutande myndighets diarium
+ - name: LAGRUM
+ type: String
+ width: 16
+ nullable: false
+ comment: Lagrum som använts som grund för beslutet
+ - name: BESLMYND
+ type: String
+ width: 32
+ nullable: false
+ comment: Beslutsmyndighet
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/NVO.zip'
cache: naturvardsregistret/
+ unar:
+ format: zip
+ patterns:
+ - 'NVO/NVO_polygon.*'
+ import:
+ path: 'NVO/NVO_polygon.shp'
+ format: ESRI Shapefile
+ layername: NVO_polygon
+ value-map:
+ DIARIENR:
+ - replace: 'xxxxxx'
+ with: null
+ publish: naturvardsomrade
- 'nvr:DVO':
+ 'nvr:Djur_och_vaxtskyddsomrade':
+ # https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/Naturvardsregistret_beskrivning_av_oppna_data.pdf
+ description: Djur- och växtskyddsområden
+ create:
+ geometry-type: MULTIPOLYGON
+ fields:
+ - name: NVRID
+ type: Integer
+ # XXX how come there is no UNIQUE constraint here?
+ unique: false
+ nullable: false
+ comment: Områdets unika ID i naturvårdsregistret
+ - name: NAMN
+ type: String
+ width: 254
+ nullable: false
+ comment: Områdets namn
+ - name: SKYDDSTYP
+ type: String
+ width: 32
+ nullable: false
+ comment: Skyddstyp
+ - name: BESLSTATUS
+ type: String
+ width: 12
+ nullable: false
+ comment: Beslutsstatus
+ - name: URSBESLDAT
+ type: Date
+ nullable: false
+ comment: Ursprungligt beslutsdatum
+ - name: IKRAFTDATF
+ type: Date
+ comment: Ikraftträdandedatum för föreskrifte
+ - name: URSGALLDAT
+ type: Date
+ comment: Ursprungligt gällandedatum
+ - name: SENGALLDAT
+ type: Date
+ comment: Senaste gällandedatum
+ - name: IUCNKAT
+ alias: IUCNkategori
+ type: String
+ width: 254
+ nullable: false
+ comment: Klassificering av skyddade områden enligt internationella naturvårdsunionens
+ - name: FORVALTARE
+ type: String
+ width: 62
+ nullable: false
+ comment: Förvaltare för området
+ - name: LAND_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Areal land i hektar (våtmarker ingår i landarealen)
+ - name: VATTEN_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Areal vatten i hektar (både sötvatten och marint vatten ingår)
+ - name: SKOG_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Skogsmarksareal i hektar
+ - name: GEOSTATUS
+ type: String
+ width: 62
+ nullable: false
+ comment: Hur ytter gränsen för området har mätts in
+ - name: DIARIENR
+ type: String
+ width: 62
+ nullable: true
+ comment: Diarienummer i beslutande myndighets diarium
+ - name: LAGRUM
+ type: String
+ width: 62
+ nullable: false
+ comment: Lagrum som använts som grund för beslutet
+ - name: BESLMYND
+ type: String
+ width: 32
+ nullable: false
+ comment: Beslutsmyndighet
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/DVO.zip'
cache: naturvardsregistret/
+ unar:
+ format: zip
+ patterns:
+ - 'DVO/DVO_polygon.*'
+ import:
+ path: 'DVO/DVO_polygon.shp'
+ format: ESRI Shapefile
+ layername: DVO_polygon
+ value-map:
+ DIARIENR:
+ - replace: 'xxxxxx'
+ with: null
+ publish: djur_och_vaxtskyddsomrade
- 'nvr:KR':
+ 'nvr:Kultureservat':
+ # https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/Naturvardsregistret_beskrivning_av_oppna_data.pdf
+ description: Kulturreservat
+ create:
+ geometry-type: MULTIPOLYGON
+ fields:
+ - name: NVRID
+ type: Integer
+ unique: true
+ nullable: false
+ comment: Områdets unika ID i naturvårdsregistret
+ - name: NAMN
+ type: String
+ width: 62
+ nullable: false
+ comment: Områdets namn
+ - name: SKYDDSTYP
+ type: String
+ width: 32
+ nullable: false
+ comment: Skyddstyp
+ - name: BESLSTATUS
+ type: String
+ width: 12
+ nullable: false
+ comment: Beslutsstatus
+ - name: URSBESLDAT
+ type: Date
+ nullable: false
+ comment: Ursprungligt beslutsdatum
+ - name: IKRAFTDATF
+ type: Date
+ comment: Ikraftträdandedatum för föreskrifte
+ - name: URSGALLDAT
+ type: Date
+ comment: Ursprungligt gällandedatum
+ - name: SENGALLDAT
+ type: Date
+ comment: Senaste gällandedatum
+ - name: IUCNKAT
+ alias: IUCNkategori
+ type: String
+ width: 254
+ nullable: false
+ comment: Klassificering av skyddade områden enligt internationella naturvårdsunionens
+ - name: FORVALTARE
+ type: String
+ width: 62
+ nullable: false
+ comment: Förvaltare för området
+ - name: LAND_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Areal land i hektar (våtmarker ingår i landarealen)
+ - name: VATTEN_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Areal vatten i hektar (både sötvatten och marint vatten ingår)
+ - name: SKOG_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Skogsmarksareal i hektar
+ - name: GEOSTATUS
+ type: String
+ width: 62
+ nullable: false
+ comment: Hur ytter gränsen för området har mätts in
+ - name: DIARIENR
+ type: String
+ width: 62
+ nullable: true
+ comment: Diarienummer i beslutande myndighets diarium
+ - name: LAGRUM
+ type: String
+ width: 16
+ nullable: false
+ comment: Lagrum som använts som grund för beslutet
+ - name: BESLMYND
+ type: String
+ width: 32
+ nullable: false
+ comment: Beslutsmyndighet
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/KR.zip'
cache: naturvardsregistret/
+ unar:
+ format: zip
+ patterns:
+ - 'KR/KR_polygon.*'
+ import:
+ path: 'KR/KR_polygon.shp'
+ format: ESRI Shapefile
+ layername: KR_polygon
+ value-map:
+ DIARIENR:
+ - replace: 'xxxxxx'
+ with: null
+ publish: kulturreservat
- 'nvr:VSO':
+ 'nvr:Vattenskyddsomrade':
+ # https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/Naturvardsregistret_beskrivning_av_oppna_data.pdf
+ description: Vattenskyddsområden
+ create:
+ geometry-type: MULTIPOLYGON
+ fields:
+ - name: NVRID
+ type: Integer
+ # XXX how come there is no UNIQUE constraint here?
+ unique: false
+ nullable: false
+ comment: Områdets unika ID i naturvårdsregistret
+ - name: NAMN
+ type: String
+ width: 254
+ nullable: false
+ comment: Områdets namn
+ - name: SKYDDSTYP
+ type: String
+ width: 32
+ nullable: false
+ comment: Skyddstyp
+ - name: BESLSTATUS
+ type: String
+ width: 12
+ nullable: false
+ comment: Beslutsstatus
+ - name: URSBESLDAT
+ type: Date
+ nullable: false
+ comment: Ursprungligt beslutsdatum
+ - name: IKRAFTDATF
+ type: Date
+ comment: Ikraftträdandedatum för föreskrifte
+ - name: URSGALLDAT
+ type: Date
+ comment: Ursprungligt gällandedatum
+ - name: SENGALLDAT
+ type: Date
+ comment: Senaste gällandedatum
+ - name: TILLSYNSMH
+ type: String
+ width: 64
+ nullable: false
+ comment: Tillsynsmyndighet
+ - name: PROVNMHDIS
+ type: String
+ width: 64
+ comment: Prövningsmyndighet för dispens
+ - name: PROVNMHTIL
+ type: String
+ width: 64
+ comment: Prövningsmyndighet för tillstånd
+ - name: IUCNKAT
+ alias: IUCNkategori
+ type: String
+ width: 254
+ nullable: false
+ comment: Klassificering av skyddade områden enligt internationella naturvårdsunionens
+ - name: LAND_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Areal land i hektar (våtmarker ingår i landarealen)
+ - name: VATTEN_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Areal vatten i hektar (både sötvatten och marint vatten ingår)
+ - name: SKOG_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Skogsmarksareal i hektar
+ - name: GEOSTATUS
+ type: String
+ width: 62
+ nullable: false
+ comment: Hur ytter gränsen för området har mätts in
+ - name: DIARIENR
+ type: String
+ width: 62
+ nullable: true
+ comment: Diarienummer i beslutande myndighets diarium
+ - name: LAGRUM
+ type: String
+ width: 16
+ comment: Lagrum som använts som grund för beslutet
+ - name: BESLMYND
+ type: String
+ width: 32
+ nullable: false
+ comment: Beslutsmyndighet
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/VSO.zip'
cache: naturvardsregistret/
+ unar:
+ format: zip
+ patterns:
+ - 'VSO/VSO_polygon.*'
+ import:
+ path: 'VSO/VSO_polygon.shp'
+ format: ESRI Shapefile
+ layername: VSO_polygon
+ value-map:
+ DIARIENR:
+ - replace: 'xxxxxx'
+ with: null
+ publish: vattenskyddsomrade
- 'nvr:LBSO':
+ 'nvr:Landskapsbildsskyddsomrade':
+ # https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/Naturvardsregistret_beskrivning_av_oppna_data.pdf
+ description: Landskapsbildsskyddsområden
+ create:
+ geometry-type: MULTIPOLYGON
+ fields:
+ - name: NVRID
+ type: Integer
+ unique: true
+ nullable: false
+ comment: Områdets unika ID i naturvårdsregistret
+ - name: NAMN
+ type: String
+ width: 62
+ nullable: false
+ comment: Områdets namn
+ - name: SKYDDSTYP
+ type: String
+ width: 32
+ nullable: false
+ comment: Skyddstyp
+ - name: BESLSTATUS
+ type: String
+ width: 12
+ nullable: false
+ comment: Beslutsstatus
+ - name: URSBESLDAT
+ type: Date
+ nullable: false
+ comment: Ursprungligt beslutsdatum
+ - name: IKRAFTDATF
+ type: Date
+ comment: Ikraftträdandedatum för föreskrifte
+ - name: URSGALLDAT
+ type: Date
+ comment: Ursprungligt gällandedatum
+ - name: SENGALLDAT
+ type: Date
+ comment: Senaste gällandedatum
+ - name: IUCNKAT
+ alias: IUCNkategori
+ type: String
+ width: 254
+ nullable: false
+ comment: Klassificering av skyddade områden enligt internationella naturvårdsunionens
+ - name: FORVALTARE
+ type: String
+ width: 62
+ nullable: false
+ comment: Förvaltare för området
+ - name: LAND_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Areal land i hektar (våtmarker ingår i landarealen)
+ - name: VATTEN_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Areal vatten i hektar (både sötvatten och marint vatten ingår)
+ - name: SKOG_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Skogsmarksareal i hektar
+ - name: GEOSTATUS
+ type: String
+ width: 62
+ nullable: false
+ comment: Hur ytter gränsen för området har mätts in
+ - name: DIARIENR
+ type: String
+ width: 62
+ nullable: true
+ comment: Diarienummer i beslutande myndighets diarium
+ - name: LAGRUM
+ type: String
+ width: 16
+ comment: Lagrum som använts som grund för beslutet
+ - name: BESLMYND
+ type: String
+ width: 32
+ nullable: false
+ comment: Beslutsmyndighet
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/LBSO.zip'
cache: naturvardsregistret/
+ unar:
+ format: zip
+ patterns:
+ - 'LBSO/LBSO_polygon.*'
+ import:
+ path: 'LBSO/LBSO_polygon.shp'
+ format: ESRI Shapefile
+ layername: LBSO_polygon
+ value-map:
+ DIARIENR:
+ - replace: 'xxxxxx'
+ with: null
+ publish: Landskapsbildsskyddsomrade
- 'nvr:OBO':
+ 'nvr:Biotopskydd':
+ # https://www.geodata.se/geodataportalen/GetMetaDataById?ID=772d46b8-25a2-42f7-b3da-4b17f610bc53
+ description: Biotopskydd i skogsmark (beslutade av Skogsstyrelsen)
+ create:
+ geometry-type: MULTIPOLYGON
+ fields:
+ - name: Uuid
+ type: String
+ subtype: UUID
+ #width: 36
+ unique: true
+ nullable: false
+ comment: Unik identitet
+ - name: Beteckn
+ type: String
+ width: 12
+ unique: true
+ nullable: false
+ comment: Ärendebeteckning
+ - name: ArendeAr
+ type: Integer
+ subtype: Int16
+ nullable: false
+ comment: År anmälan/ansökan registrerades
+ - name: Biotyp
+ type: String
+ width: 254
+ nullable: false
+ - name: Naturtyp
+ type: String
+ width: 254
+ - name: AreaTot
+ type: Real
+ - name: AreaProd
+ type: Real
+ - name: Standort
+ type: String
+ width: 254
+ - name: Datbeslut
+ type: Date
+ - name: Url
+ type: String
+ width: 254
+ source:
+ download: 'https://geodpags.skogsstyrelsen.se/geodataport/data/sksBiotopskydd_gpkg.zip'
+ cache: sks/
+ unar:
+ format: zip
+ import:
+ path: sksBiotopskydd.gpkg
+ format: GPKG
+ layername: BiotopskyddYta
+ value-map:
+ Standort:
+ - replace: 'saknas'
+ with: null
+ publish: skogligt_biotopskyddsomrade
+
+ 'nvr:Ovrigt_biotopskyddsomrade':
+ # https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/Naturvardsregistret_beskrivning_av_oppna_data.pdf
+ description: Biotopskydd utanför skogsmark
+ create:
+ geometry-type: MULTIPOLYGON
+ fields:
+ - name: NVRID
+ type: Integer
+ unique: true
+ nullable: false
+ comment: Områdets unika ID i naturvårdsregistret
+ - name: NAMN
+ type: String
+ width: 62
+ nullable: false
+ comment: Områdets namn
+ - name: SKYDDSTYP
+ type: String
+ width: 32
+ nullable: false
+ comment: Skyddstyp
+ - name: BESLSTATUS
+ type: String
+ width: 12
+ nullable: false
+ comment: Beslutsstatus
+ - name: URSBESLDAT
+ type: Date
+ nullable: false
+ comment: Ursprungligt beslutsdatum
+ - name: IKRAFTDATF
+ type: Date
+ comment: Ikraftträdandedatum för föreskrifte
+ - name: URSGALLDAT
+ type: Date
+ comment: Ursprungligt gällandedatum
+ - name: SENGALLDAT
+ type: Date
+ comment: Senaste gällandedatum
+ - name: IUCNKAT
+ alias: IUCNkategori
+ type: String
+ width: 254
+ nullable: false
+ comment: Klassificering av skyddade områden enligt internationella naturvårdsunionens
+ - name: FORVALTARE
+ type: String
+ width: 62
+ nullable: false
+ comment: Förvaltare för området
+ - name: LAND_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Areal land i hektar (våtmarker ingår i landarealen)
+ - name: VATTEN_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Areal vatten i hektar (både sötvatten och marint vatten ingår)
+ - name: SKOG_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Skogsmarksareal i hektar
+ - name: GEOSTATUS
+ type: String
+ width: 62
+ nullable: false
+ comment: Hur ytter gränsen för området har mätts in
+ - name: DIARIENR
+ type: String
+ width: 62
+ nullable: true
+ comment: Diarienummer i beslutande myndighets diarium
+ - name: LAGRUM
+ type: String
+ width: 16
+ nullable: false
+ comment: Lagrum som använts som grund för beslutet
+ - name: BESLMYND
+ type: String
+ width: 32
+ nullable: false
+ comment: Beslutsmyndighet
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/OBO.zip'
cache: naturvardsregistret/
+ unar:
+ format: zip
+ patterns:
+ - 'OBO/OBO_polygon.*'
+ import:
+ path: 'OBO/OBO_polygon.shp'
+ format: ESRI Shapefile
+ layername: OBO_polygon
+ value-map:
+ DIARIENR:
+ - replace: 'xxxxxx'
+ with: null
+ publish: ovrigt_biotopskyddsomrade
+
+ 'nvr:Naturminne_punkt':
+ # https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/Naturvardsregistret_beskrivning_av_oppna_data.pdf
+ description: Naturminne, punkt
+ create:
+ geometry-type: MULTIPOINT
+ fields:
+ - name: NVRID
+ type: Integer
+ unique: true
+ nullable: false
+ comment: Områdets unika ID i naturvårdsregistret
+ - name: NAMN
+ type: String
+ width: 62
+ nullable: false
+ comment: Områdets namn
+ - name: SKYDDSTYP
+ type: String
+ width: 32
+ nullable: false
+ comment: Skyddstyp
+ - name: BESLSTATUS
+ type: String
+ width: 12
+ nullable: false
+ comment: Beslutsstatus
+ - name: URSBESLDAT
+ type: Date
+ nullable: false
+ comment: Ursprungligt beslutsdatum
+ - name: IKRAFTDATF
+ type: Date
+ comment: Ikraftträdandedatum för föreskrifte
+ - name: URSGALLDAT
+ type: Date
+ comment: Ursprungligt gällandedatum
+ - name: SENGALLDAT
+ type: Date
+ comment: Senaste gällandedatum
+ - name: IUCNKAT
+ alias: IUCNkategori
+ type: String
+ width: 254
+ nullable: false
+ comment: Klassificering av skyddade områden enligt internationella naturvårdsunionens
+ - name: FORVALTARE
+ type: String
+ width: 62
+ nullable: false
+ comment: Förvaltare för området
+ - name: GEOSTATUS
+ type: String
+ width: 62
+ nullable: false
+ comment: Hur ytter gränsen för området har mätts in
+ - name: DIARIENR
+ type: String
+ width: 62
+ nullable: true
+ comment: Diarienummer i beslutande myndighets diarium
+ - name: LAGRUM
+ type: String
+ width: 64
+ nullable: false
+ comment: Lagrum som använts som grund för beslutet
+ - name: BESLMYND
+ type: String
+ width: 32
+ nullable: false
+ comment: Beslutsmyndighet
+ source:
+ download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/NM.zip'
+ cache: naturvardsregistret/
+ unar:
+ format: zip
+ patterns:
+ - 'NM/NM_point.*'
+ import:
+ path: 'NM/NM_point.shp'
+ format: ESRI Shapefile
+ layername: NM_point
+ publish: naturminne_punkt
- 'nvr:NM':
+ 'nvr:Naturminne_polygon':
+ # https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/Naturvardsregistret_beskrivning_av_oppna_data.pdf
+ description: Naturminne, yta
+ create:
+ geometry-type: MULTIPOLYGON
+ fields:
+ - name: NVRID
+ type: Integer
+ unique: true
+ nullable: false
+ comment: Områdets unika ID i naturvårdsregistret
+ - name: NAMN
+ type: String
+ width: 62
+ nullable: false
+ comment: Områdets namn
+ - name: SKYDDSTYP
+ type: String
+ width: 32
+ nullable: false
+ comment: Skyddstyp
+ - name: BESLSTATUS
+ type: String
+ width: 12
+ nullable: false
+ comment: Beslutsstatus
+ - name: URSBESLDAT
+ type: Date
+ nullable: false
+ comment: Ursprungligt beslutsdatum
+ - name: IKRAFTDATF
+ type: Date
+ comment: Ikraftträdandedatum för föreskrifte
+ - name: URSGALLDAT
+ type: Date
+ comment: Ursprungligt gällandedatum
+ - name: SENGALLDAT
+ type: Date
+ comment: Senaste gällandedatum
+ - name: IUCNKAT
+ alias: IUCNkategori
+ type: String
+ width: 254
+ nullable: false
+ comment: Klassificering av skyddade områden enligt internationella naturvårdsunionens
+ - name: FORVALTARE
+ type: String
+ width: 62
+ nullable: false
+ comment: Förvaltare för området
+ - name: LAND_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Areal land i hektar (våtmarker ingår i landarealen)
+ - name: VATTEN_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Areal vatten i hektar (både sötvatten och marint vatten ingår)
+ - name: SKOG_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Skogsmarksareal i hektar
+ - name: GEOSTATUS
+ type: String
+ width: 62
+ nullable: false
+ comment: Hur ytter gränsen för området har mätts in
+ - name: DIARIENR
+ type: String
+ width: 62
+ nullable: true
+ comment: Diarienummer i beslutande myndighets diarium
+ - name: LAGRUM
+ type: String
+ width: 64
+ nullable: false
+ comment: Lagrum som använts som grund för beslutet
+ - name: BESLMYND
+ type: String
+ width: 32
+ nullable: false
+ comment: Beslutsmyndighet
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/NM.zip'
cache: naturvardsregistret/
+ unar:
+ format: zip
+ patterns:
+ - 'NM/NM_polygon.*'
+ import:
+ path: 'NM/NM_polygon.shp'
+ format: ESRI Shapefile
+ layername: NM_polygon
+ value-map:
+ DIARIENR:
+ - replace: 'xxxxxx'
+ with: null
+ publish: naturminne_polygon
- 'nvr:IF':
+ 'nvr:Interimistiskt_forbud':
+ # https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/Naturvardsregistret_beskrivning_av_oppna_data.pdf
+ description: Interimistiska förbud
+ create:
+ geometry-type: MULTIPOLYGON
+ fields:
+ - name: NVRID
+ type: Integer
+ unique: true
+ nullable: false
+ comment: Områdets unika ID i naturvårdsregistret
+ - name: NAMN
+ type: String
+ width: 62
+ nullable: false
+ comment: Områdets namn
+ - name: SKYDDSTYP
+ type: String
+ width: 32
+ nullable: false
+ comment: Skyddstyp
+ - name: BESLSTATUS
+ type: String
+ width: 12
+ nullable: false
+ comment: Beslutsstatus
+ - name: URSBESLDAT
+ type: Date
+ nullable: false
+ comment: Ursprungligt beslutsdatum
+ - name: IKRAFTDATF
+ type: Date
+ comment: Ikraftträdandedatum för föreskrifte
+ - name: URSGALLDAT
+ type: Date
+ comment: Ursprungligt gällandedatum
+ - name: SENGALLDAT
+ type: Date
+ comment: Senaste gällandedatum
+ - name: IUCNKAT
+ alias: IUCNkategori
+ type: String
+ width: 254
+ nullable: false
+ comment: Klassificering av skyddade områden enligt internationella naturvårdsunionens
+ - name: FORVALTARE
+ type: String
+ width: 62
+ comment: Förvaltare för området
+ - name: LAND_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Areal land i hektar (våtmarker ingår i landarealen)
+ - name: VATTEN_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Areal vatten i hektar (både sötvatten och marint vatten ingår)
+ - name: SKOG_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Skogsmarksareal i hektar
+ - name: GEOSTATUS
+ type: String
+ width: 62
+ nullable: false
+ comment: Hur ytter gränsen för området har mätts in
+ - name: DIARIENR
+ type: String
+ width: 62
+ nullable: true
+ comment: Diarienummer i beslutande myndighets diarium
+ - name: LAGRUM
+ type: String
+ width: 16
+ nullable: false
+ comment: Lagrum som använts som grund för beslutet
+ - name: BESLMYND
+ type: String
+ width: 32
+ nullable: false
+ comment: Beslutsmyndighet
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/IF.zip'
cache: naturvardsregistret/
+ unar:
+ format: zip
+ patterns:
+ - 'IF/IF_polygon.*'
+ import:
+ path: 'IF/IF_polygon.shp'
+ format: ESRI Shapefile
+ layername: IF_polygon
+ value-map:
+ DIARIENR:
+ - replace: 'xxxxxx'
+ with: null
+ publish: interimistiskt_forbud
'nvr:SPA_Rikstackande':
+ # https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/Naturvardsregistret_beskrivning_av_oppna_data.pdf
+ description: Fågeldirektivet (SPA, direktiv 79/409/EEG)
+ create:
+ geometry-type: MULTIPOLYGONZ
+ fields:
+ - name: NAMN
+ type: String
+ width: 62
+ unique: true
+ nullable: false
+ comment: Områdets namn
+ - name: BEVPLAN
+ type: String
+ width: 128
+ nullable: false
+ - name: SITE_CODE
+ type: String
+ width: 9
+ unique: true
+ nullable: false
+ - name: OMRADESTYP
+ type: String
+ width: 16
+ nullable: false
+ - name: UPPLAMNARE
+ type: String
+ width: 62
+ nullable: false
+ - name: SCI_FORSL
+ type: String
+ width: 6
+ - name: SCI_DATUM
+ type: String
+ width: 6
+ - name: SAC_DATUM
+ type: String
+ width: 6
+ - name: SPA_DATUM
+ type: String
+ width: 6
+ nullable: false
+ - name: KVALITET
+ type: String
+ width: 254
+ nullable: false
+ - name: KARAKTAR
+ type: String
+ width: 254
+ nullable: false
+ - name: ARTER
+ type: String
+ width: 254
+ nullable: false
+ - name: NATURTYPER
+ type: String
+ width: 254
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/SPA_Rikstackande.zip'
cache: naturvardsregistret/
+ unar:
+ format: zip
+ patterns:
+ - 'SPA_rikstackande.*'
+ import:
+ path: 'SPA_rikstackande.shp'
+ format: ESRI Shapefile
+ layername: SPA_rikstackande
+ publish: fageldirektivet
'nvr:SCI_Rikstackande':
- source:
- download:
- url: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/SCI_Rikstackande.zip'
- max-size: 134217728 # 128MiB
- cache: naturvardsregistret/
+ # https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/Naturvardsregistret_beskrivning_av_oppna_data.pdf
+ description: Habitatdirektivet (SCI, direktiv 92/43/EEG)
+ create:
+ geometry-type: MULTIPOLYGONZ
+ fields:
+ - name: NAMN
+ type: String
+ width: 62
+ # XXX how come there is no UNIQUE constraint here?
+ unique: false
+ nullable: false
+ comment: Områdets namn
+ - name: BEVPLAN
+ type: String
+ width: 128
+ nullable: false
+ - name: SITE_CODE
+ type: String
+ width: 9
+ unique: true
+ nullable: false
+ - name: OMRADESTYP
+ type: String
+ width: 16
+ nullable: false
+ - name: UPPLAMNARE
+ type: String
+ width: 62
+ nullable: false
+ - name: SCI_FORSL
+ type: String
+ width: 6
+ nullable: false
+ - name: SCI_DATUM
+ type: String
+ width: 6
+ - name: SAC_DATUM
+ type: String
+ width: 6
+ - name: SPA_DATUM
+ type: String
+ width: 6
+ - name: KVALITET
+ type: String
+ width: 254
+ nullable: false
+ - name: KARAKTAR
+ type: String
+ width: 254
+ nullable: false
+ - name: ARTER
+ type: String
+ width: 254
+ - name: NATURTYPER
+ type: String
+ width: 254
+ sources:
+ - source:
+ download:
+ url: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/SCI_Rikstackande.zip'
+ max-size: 134217728 # 128MiB
+ cache: naturvardsregistret/
+ unar:
+ format: zip
+ patterns:
+ - 'SCI_alvar_AC_lan/SCI_alvar_AC_lan.*'
+ import:
+ path: 'SCI_alvar_AC_lan/SCI_alvar_AC_lan.shp'
+ format: ESRI Shapefile
+ layername: SCI_alvar_AC_lan
+ - source:
+ download:
+ url: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/SCI_Rikstackande.zip'
+ max-size: 134217728 # 128MiB
+ cache: naturvardsregistret/
+ unar:
+ format: zip
+ patterns:
+ - 'SCI_alvar_BD_lan/SCI_alvar_BD_lan.*'
+ import:
+ path: 'SCI_alvar_BD_lan/SCI_alvar_BD_lan.shp'
+ format: ESRI Shapefile
+ layername: SCI_alvar_BD_lan
+ - source:
+ download:
+ url: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/SCI_Rikstackande.zip'
+ max-size: 134217728 # 128MiB
+ cache: naturvardsregistret/
+ unar:
+ format: zip
+ patterns:
+ - 'SCI_ej_alvar_rikstackande/SCI_ej_alvar_rikstackande.*'
+ import:
+ path: 'SCI_ej_alvar_rikstackande/SCI_ej_alvar_rikstackande.shp'
+ format: ESRI Shapefile
+ layername: SCI_ej_alvar_rikstackande
+ publish: habitatdirektivet
'nvr:HELCOM':
+ # https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/Naturvardsregistret_beskrivning_av_oppna_data.pdf
+ description: Marina skyddade områden (Helcom MPA)
+ create:
+ geometry-type: MULTIPOLYGONZ
+ fields:
+ - name: BSPA_ID
+ type: Integer
+ unique: true
+ nullable: false
+ - name: NAME
+ type: String
+ width: 62
+ nullable: false
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/HELCOM.zip'
cache: naturvardsregistret/
+ unar:
+ format: zip
+ patterns:
+ - 'PS_HELCOM/PS_HELCOM.*'
+ import:
+ path: 'PS_HELCOM/PS_HELCOM.shp'
+ format: ESRI Shapefile
+ layername: PS_HELCOM
+ publish: helcom
- 'nvr:Ramsar_2018':
+ 'nvr:Ramsar':
+ # https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/Naturvardsregistret_beskrivning_av_oppna_data.pdf
+ description: Ramsar-områden (Våtmarkskonventionen)
+ create:
+ geometry-type: MULTIPOLYGON
+ fields:
+ - name: RAMSAR_ID
+ type: Integer
+ unique: true
+ nullable: false
+ - name: SKYDDSTYP
+ type: String
+ width: 32
+ nullable: false
+ comment: Skyddstyp
+ - name: NATION
+ type: String
+ width: 32
+ nullable: false
+ - name: NAMN
+ type: String
+ width: 32
+ unique: true
+ nullable: false
+ - name: LAND_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Areal land i hektar (våtmarker ingår i landarealen)
+ - name: VATTEN_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Areal vatten i hektar (både sötvatten och marint vatten ingår)
+ - name: SKOG_HA
+ # XXX convert to m²?
+ type: Real
+ comment: Skogsmarksareal i hektar
+ - name: LINK
+ type: String
+ width: 254
+ nullable: false
+ - name: URSPR_BESL
+ type: Date
+ nullable: false
+ - name: SEN_BESLUT
+ type: Date
+ - name: LEGAL_ACT
+ type: String
+ width: 254
+ nullable: false
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/Ramsar_2018.zip'
cache: naturvardsregistret/
+ unar:
+ format: zip
+ patterns:
+ - 'RAMSAR.*'
+ import:
+ path: 'RAMSAR.shp'
+ format: ESRI Shapefile
+ layername: RAMSAR
+ publish: helcom
'nvr:OSPAR':
+ # https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/Naturvardsregistret_beskrivning_av_oppna_data.pdf
+ description: Marina skyddade områden (Ospar MPA)
+ create:
+ geometry-type: MULTIPOLYGONZ
+ fields:
+ - name: ORIGIN
+ type: String
+ width: 10
+ nullable: false
+ - name: NAMN_N2000
+ type: String
+ width: 64
+ unique: true
+ nullable: false
+ - name: MPA_ID
+ type: String
+ width: 16
+ unique: true
+ nullable: false
+ - name: MPA_NAMN
+ type: String
+ width: 64
+ unique: true
+ nullable: false
+ - name: N2000_SITE
+ type: String
+ width: 16
+ unique: true
+ nullable: false
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/OSPAR.zip'
cache: naturvardsregistret/
+ unar:
+ format: zip
+ patterns:
+ - 'PS_OSPAR/PS_OSPAR.*'
+ import:
+ path: 'PS_OSPAR/PS_OSPAR.shp'
+ format: ESRI Shapefile
+ layername: PS_OSPAR
+ publish: ospar
'nvr:Varldsarv':
+ # https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/Naturvardsregistret_beskrivning_av_oppna_data.pdf
+ description: Världsarv med mycket höga naturvärden (UNESCO)
+ create:
+ geometry-type: MULTIPOLYGON
+ fields:
+ - name: NAMN
+ type: String
+ width: 64
+ unique: true
+ nullable: false
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/Varldsarv.zip'
cache: naturvardsregistret/
+ unar:
+ format: zip
+ patterns:
+ - 'VARLDSARV.*'
+ import:
+ path: 'VARLDSARV.shp'
+ format: ESRI Shapefile
+ layername: VARLDSARV
+ publish: varldsarv
- 'nvr:biosfarsomraden':
+ 'nvr:Biosfarsomraden':
+ # https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/Naturvardsregistret_beskrivning_av_oppna_data.pdf
+ description: Biosfärsområden (UNESCO)
+ create:
+ geometry-type: MULTIPOLYGON
+ fields:
+ - name: SKYDDSTYP
+ type: String
+ width: 32
+ nullable: false
+ comment: Skyddstyp
+ - name: NAMN
+ type: String
+ width: 32
+ unique: true
+ nullable: false
+ - name: LINK
+ type: String
+ width: 254
+ nullable: false
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/biosfarsomraden.zip'
cache: naturvardsregistret/
+ unar:
+ format: zip
+ patterns:
+ - 'BIOSFARSOMRADEN.*'
+ import:
+ path: 'BIOSFARSOMRADEN.shp'
+ format: ESRI Shapefile
+ layername: BIOSFARSOMRADEN
+ publish: biosfarsomraden
- 'nvr:NVA':
+ 'nva:Naturvardsverket_Lansstyrelse':
+ # https://geodatakatalogen.naturvardsverket.se/geonetwork/srv/swe/catalog.search#/metadata/3a5790ff-8cd3-45ea-bbee-28cf2c1b6b06
+ description: Naturvårdsavtal (Naturvårdsverket, Länsstyrelse)
+ create:
+ geometry-type: MULTIPOLYGON
+ fields:
+ - name: ID
+ type: Integer
+ # XXX how come there is no UNIQUE constraint here?
+ unique: false
+ nullable: false
+ - name: DIARIENRNV
+ type: String
+ width: 12
+ # XXX how come there is no UNIQUE constraint here?
+ unique: false
+ nullable: false
+ - name: STATUS
+ type: String
+ width: 32
+ nullable: false
+ - name: OBJNAMN
+ type: String
+ width: 64
+ - name: FASTBET
+ type: String
+ width: 64
+ - name: DATSTART
+ type: Date
+ nullable: false
+ - name: DATSLUT
+ type: Date
+ nullable: false
source:
download: 'https://geodata.naturvardsverket.se/nedladdning/naturvardsregistret/NVA.zip'
cache: naturvardsregistret/
+ unar:
+ format: zip
+ patterns:
+ - 'NVA.*'
+ import:
+ path: 'NVA.shp'
+ format: ESRI Shapefile
+ layername: NVA
+ publish: naturvardsavtal
+
+ 'nva:Skogsstyrelsen':
+ # https://www.geodata.se/geodataportalen/GetMetaDataById?ID=f56d281c-8246-40aa-83cd-9db0d4389d5a
+ description: Naturvårdsavtal (Skogsstyrelsen)
+ create:
+ geometry-type: MULTIPOLYGON
+ fields:
+ - name: Uuid
+ type: String
+ subtype: UUID
+ #width: 36
+ unique: true
+ nullable: false
+ comment: Unik identitet
+ - name: Beteckn
+ type: String
+ width: 12
+ unique: true
+ nullable: false
+ comment: Ärendebeteckning
+ - name: ArendeAr
+ type: Integer
+ subtype: Int16
+ nullable: false
+ comment: År anmälan/ansökan registrerades
+ - name: NvaTyp
+ type: String
+ width: 254
+ - name: Naturtyp
+ type: String
+ width: 254
+ - name: AreaTot
+ type: Real
+ nullable: false
+ - name: AreaProd
+ type: Real
+ nullable: false
+ - name: Standort
+ type: String
+ width: 254
+ - name: DatAvtal
+ type: Date
+ nullable: false
+ - name: Url
+ type: String
+ width: 254
+ nullable: false
+ - name: Undertyp
+ type: String
+ width: 64
+ source:
+ download: 'https://geodpags.skogsstyrelsen.se/geodataport/data/sksNaturvardsavtal_gpkg.zip'
+ cache: sks/
+ unar:
+ format: zip
+ import:
+ path: 'sksNaturvardsavtal.gpkg'
+ format: GPKG
+ layername: NaturvardsavtalYta
+ value-map:
+ Standort:
+ - replace: 'saknas'
+ with: null
+ publish: naturvardsavtal_skogsstyrelsen
'sks:AvverkAnm':
# https://geodpags.skogsstyrelsen.se/geodataport/feeds/AvverkAnm.xml