Skip to content

Commit

Permalink
Merge pull request #98 from nzzdev/release-2.4.5
Browse files Browse the repository at this point in the history
Release 2.4.5
  • Loading branch information
fromdusttilldawn authored May 12, 2022
2 parents 21532c4 + 086bf86 commit d122947
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 3 deletions.
17 changes: 17 additions & 0 deletions basemaps/prepare-basemaps/config/basemaps.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "q-choropleth",
"version": "2.4.4",
"version": "2.4.5",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
10 changes: 9 additions & 1 deletion views/Geographic/WaterFeature.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
<script>
export let path;
let strokeColor = "#A5A5AF";
let strokeWidth = 0.4;
</script>

<path fill="#d0e2ec" stroke="none" d={path} />
<path
fill="#fff"
stroke={strokeColor}
stroke-width={strokeWidth}
d={path}
/>

0 comments on commit d122947

Please sign in to comment.