From 0f2cbc2918db593f2d8392f0720a56c7f2e23430 Mon Sep 17 00:00:00 2001 From: Leonard Ehrenfried Date: Wed, 7 Aug 2024 14:19:41 +0200 Subject: [PATCH] Extract correct time --- build-config.json | 4 +++- build-graph.sh | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/build-config.json b/build-config.json index 185a70d0..a516f5e5 100644 --- a/build-config.json +++ b/build-config.json @@ -2,11 +2,13 @@ "embedRouterConfig": true, "areaVisibility": true, "staticParkAndRide": false, + "transitModelTimeZone": "Europe/Rome", "transitFeeds": [ { "source": "data/sta-netex.xml.zip", "type": "netex", - "feedId": "sta" + "feedId": "sta", + "groupFilePattern": "(.*)\\.xml" }, { "source": "https://gtfs.api.opendatahub.com/v1/dataset/skyalps-flight-data/raw", diff --git a/build-graph.sh b/build-graph.sh index c8368e9e..574c14dd 100755 --- a/build-graph.sh +++ b/build-graph.sh @@ -16,7 +16,7 @@ SOUTH_TYROL_PBF=data/south-tyrol.osm.pbf ELEVATION_URL=https://srtm.csi.cgiar.org/wp-content/uploads/files/srtm_5x5/TIFF/srtm_39_03.zip ELEVATION_ZIP=data/srtm_39_03.zip # transit data -TRANSIT_NETEX_URL="ftp://ftp01.sta.bz.it/netex/2024/plan/EU_Profil/NX-PI_01_it_apb_LINE_apb__$(date +%Y%m%d).xml.zip" +TRANSIT_NETEX_URL="ftp://ftp01.sta.bz.it/netex/$(date +%Y)/plan/EU_Profil/NX-PI_01_it_apb_LINE_apb__$(date +%Y%m%d).xml.zip" TRANSIT_NETEX_ZIP=data/sta-netex.xml.zip # parking PARKING_NETEX_URL=https://transmodel.api.opendatahub.com/netex/parking