From 19688299e74a841eb7ac7226da0c159148d595b6 Mon Sep 17 00:00:00 2001 From: sharhio Date: Fri, 8 Nov 2024 10:15:14 +0200 Subject: [PATCH 1/2] filter vehicle rental data --- finland/router-config.json | 13 +++++++++---- hsl/router-config.json | 3 ++- waltti/router-config.json | 9 ++++++--- 3 files changed, 17 insertions(+), 8 deletions(-) diff --git a/finland/router-config.json b/finland/router-config.json index ca1f366d..79ba458e 100644 --- a/finland/router-config.json +++ b/finland/router-config.json @@ -529,7 +529,8 @@ "sourceType": "gbfs", "frequency": "30s", "url": "http://digitransit-proxy:8080/out/stables.donkey.bike/api/public/gbfs/2/donkey_lappeenranta/gbfs.json", - "overloadingAllowed": true + "overloadingAllowed": true, + "allowedRentalType": "stations" }, { "id": "kotka-bike-rental", @@ -537,7 +538,8 @@ "sourceType": "gbfs", "frequency": "30s", "url": "http://digitransit-proxy:8080/out/stables.donkey.bike/api/public/gbfs/2/donkey_kotka/gbfs.json", - "overloadingAllowed": true + "overloadingAllowed": true, + "allowedRentalType": "stations" }, { "id": "kouvola-bike-rental", @@ -554,7 +556,9 @@ "frequency": "60s", "network": "freebike_lahti", "url": "http://digitransit-proxy:8080/out/tkhslahtistorage.blob.core.windows.net/gbfs/gbfs.json", - "overloadingAllowed": true + "overloadingAllowed": true, + "allowedRentalType": "stations" + }, { "id": "vantaa-bike-rental", @@ -644,7 +648,8 @@ "frequency": "30s", "network": "bolt_helsinki", "url": "https://mds.bolt.eu/gbfs/2/10/gbfs", - "geofencingZones": true + "geofencingZones": true, + "allowedRentalType": "vehicles" } ] } diff --git a/hsl/router-config.json b/hsl/router-config.json index 7abe4240..a953389e 100644 --- a/hsl/router-config.json +++ b/hsl/router-config.json @@ -295,7 +295,8 @@ "frequency": "30s", "network": "bolt_helsinki", "url": "https://mds.bolt.eu/gbfs/2/10/gbfs", - "geofencingZones": true + "geofencingZones": true, + "allowedRentalType": "vehicles" } ] } diff --git a/waltti/router-config.json b/waltti/router-config.json index fddba7c0..2ff6de32 100644 --- a/waltti/router-config.json +++ b/waltti/router-config.json @@ -433,7 +433,8 @@ "sourceType": "gbfs", "frequency": "30s", "url": "http://digitransit-proxy:8080/out/stables.donkey.bike/api/public/gbfs/2/donkey_lappeenranta/gbfs.json", - "overloadingAllowed": true + "overloadingAllowed": true, + "allowedRentalType": "stations" }, { "id": "kotka-bike-rental", @@ -441,7 +442,8 @@ "sourceType": "gbfs", "frequency": "30s", "url": "http://digitransit-proxy:8080/out/stables.donkey.bike/api/public/gbfs/2/donkey_kotka/gbfs.json", - "overloadingAllowed": true + "overloadingAllowed": true, + "allowedRentalType": "stations" }, { "id": "kouvola-bike-rental", @@ -475,7 +477,8 @@ "sourceType": "gbfs", "frequency": "60s", "url": "http://digitransit-proxy:8080/out/tkhslahtistorage.blob.core.windows.net/gbfs/gbfs.json", - "overloadingAllowed": true + "overloadingAllowed": true, + "allowedRentalType": "stations" }, { "id": "liipi", From 5deeddc8ea4af6dc04f64066686062fb71d2857a Mon Sep 17 00:00:00 2001 From: sharhio Date: Fri, 8 Nov 2024 12:59:28 +0200 Subject: [PATCH 2/2] only bike stations in vantaa --- finland/router-config.json | 3 ++- hsl/router-config.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/finland/router-config.json b/finland/router-config.json index 79ba458e..0e334a8c 100644 --- a/finland/router-config.json +++ b/finland/router-config.json @@ -567,7 +567,8 @@ "frequency": "30s", "network": "vantaa", "url": "http://digitransit-proxy:8080/out/vantaa-api.giravolta.io/api-opendata/gbfs/2_3/gbfs", - "overloadingAllowed": true + "overloadingAllowed": true, + "allowedRentalType": "stations" }, { "id": "hsl-bike-rental", diff --git a/hsl/router-config.json b/hsl/router-config.json index a953389e..e616b9b3 100644 --- a/hsl/router-config.json +++ b/hsl/router-config.json @@ -266,7 +266,8 @@ "frequency": "30s", "network": "vantaa", "url": "http://digitransit-proxy:8080/out/vantaa-api.giravolta.io/api-opendata/gbfs/2_3/gbfs", - "overloadingAllowed": true + "overloadingAllowed": true, + "allowedRentalType": "stations" }, { "id": "hsl-bike-rental",