Skip to content

Commit

Permalink
Merge pull request #203 from leonardehrenfried/fix-deployment
Browse files Browse the repository at this point in the history
Use rehosted NeTEx files
  • Loading branch information
dulvui authored Aug 30, 2024
2 parents 671ef44 + cf4cd26 commit e89ee4d
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .otp-version
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: NOI Techpark <[email protected]>
#
# SPDX-License-Identifier: CC0-1.0
export OTP_IMAGE="opentripplanner/opentripplanner:2.6.0_2024-08-01T06-53"
export OTP_IMAGE="opentripplanner/opentripplanner:2.6.0_2024-08-28T18-30"
3 changes: 2 additions & 1 deletion build-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"transitModelTimeZone": "Europe/Rome",
"transitFeeds": [
{
"source": "data/sta-netex.xml.zip",
// we rehost the NeTEx file because the original FTP server has issues
"source": "https://leonard.io/otp/alto-adige-netex-epip.xml.zip",
"type": "netex",
"feedId": "sta",
"groupFilePattern": "(.*)\\.xml"
Expand Down
4 changes: 2 additions & 2 deletions build-graph.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ if [ ! -f "${ELEVATION_ZIP}" ]; then
unzip -o ${ELEVATION_ZIP} -d data
fi

echo "Downloading NeTEx transit data from ${TRANSIT_NETEX_URL}"
${CURL} "${TRANSIT_NETEX_URL}" -o ${TRANSIT_NETEX_ZIP}
#echo "Downloading NeTEx transit data from ${TRANSIT_NETEX_URL}"
#${CURL} "${TRANSIT_NETEX_URL}" -o ${TRANSIT_NETEX_ZIP}

# download parking data and put it into a zip
rm -f ${PARKING_NETEX_XML} ${PARKING_NETEX_ZIP}
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/docker/otp/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Simon, do you know how we could use the value from .otp-version here?
FROM opentripplanner/opentripplanner:2.6.0_2024-08-01T06-53
FROM opentripplanner/opentripplanner:2.6.0_2024-08-28T18-30

WORKDIR /var/otp

Expand Down
6 changes: 6 additions & 0 deletions router-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@
"type": "stop-time-updater",
"url": "https://amarillo.otp.opendatahub.testingmachine.eu/gtfs/amarillo.altoadige.gtfsrt.pbf",
"feedId": "amarillo"
},
{
"type": "vehicle-parking",
"feedId": "parking",
"sourceType": "siri-fm",
"url": "https://transmodel.api.opendatahub.com/siri-lite/facility-monitoring/parking"
}
]
}

0 comments on commit e89ee4d

Please sign in to comment.