diff --git a/basemaps/prepare-basemaps/config/basemaps.js b/basemaps/prepare-basemaps/config/basemaps.js index b895027f..07ac69dc 100644 --- a/basemaps/prepare-basemaps/config/basemaps.js +++ b/basemaps/prepare-basemaps/config/basemaps.js @@ -150,6 +150,23 @@ module.exports = [ id: "ch-municipalities-geographic", title: "Schweiz » Gemeinden", versions: [ + { + validFrom: "2022-05-01T00:00:00.000Z", + data: { + source: { + url: "https://www.bfs.admin.ch/bfs/de/home/dienstleistungen/geostat/geodaten-bundesstatistik/administrative-grenzen/generalisierte-gemeindegrenzen.html", + label: "© BfS, ThemaKart", + }, + config: { + defaultEntityType: "id", + entityTypes: { + id: "BfS Nummer", + }, + projection: "mercator", + }, + entities: require("./basemaps/ch-municipalities-geographic.js"), + }, + }, { validFrom: "2022-01-01T00:00:00.000Z", data: { diff --git a/basemaps/prepare-basemaps/config/basemaps/ch-municipalities-geographic.js b/basemaps/prepare-basemaps/config/basemaps/ch-municipalities-geographic.js index bea0d6f3..07352bb9 100644 --- a/basemaps/prepare-basemaps/config/basemaps/ch-municipalities-geographic.js +++ b/basemaps/prepare-basemaps/config/basemaps/ch-municipalities-geographic.js @@ -2,6 +2,16 @@ const unzipper = require("unzipper"); const fetch = require("node-fetch"); const config = { + "2022-05-01T00:00:00.000Z": { + dataUrl: "https://dam-api.bfs.admin.ch/hub/api/dam/assets/22484210/master", + featuresPath: "./ag-b-00.03-875-gg22/ggg_2022_LV95/shp/k4g22_20220501.shp", + waterPath: "./ag-b-00.03-875-gg22/ggg_2022_LV95/shp/k4s22.shp", + featuresPropertyMapping: { + id: "GMDNR", + name: "GMDNAME", + }, + rewriteProperties: {}, + }, "2022-01-01T00:00:00.000Z": { dataUrl: "https://www.bfs.admin.ch/bfsstatic/dam/assets/21224783/master", featuresPath: "./ggg_2022_LV95/shp/k4g22.shp", diff --git a/package-lock.json b/package-lock.json index 8f3b27a1..116370eb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "q-choropleth", - "version": "2.4.4", + "version": "2.4.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 954087da..95adfa74 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "q-choropleth", - "version": "2.4.4", + "version": "2.4.5", "description": "", "main": "index.js", "scripts": { diff --git a/views/Geographic/WaterFeature.svelte b/views/Geographic/WaterFeature.svelte index 366ac9fb..a4a145ae 100644 --- a/views/Geographic/WaterFeature.svelte +++ b/views/Geographic/WaterFeature.svelte @@ -1,5 +1,13 @@ - +