-
Notifications
You must be signed in to change notification settings - Fork 2
TransiTime Import
Claudiu Bogdan Minea edited this page Dec 19, 2021
·
8 revisions
Import data for each one of your agencies. There's also a meta "ActiveRevisions" table in the database which needs to be incremented in order to match your import.
java \
-Xmx1024M \
-Dtransitclock.logging.dir=/tmp \
-Dtransitclock.configFiles=/usr/local/transitclock/config/AGENCY.xml \
-jar transitclock/target/GtfsFileProcessor.jar \
-storeNewRevs \
-gtfsZipFileName /PATH/TO/YOUR/GTFS.zip \
-maxTravelTimeSegmentLength 400
java \
-Xmx1024M \
-Dtransitclock.logging.dir=/tmp \
-Dtransitclock.configFiles=/usr/local/transitclock/config/SECONDARYAGENCY.xml \
-jar transitclock/target/GtfsFileProcessor.jar \
-storeNewRevs \
-gtfsZipFileName /PATH/TO/YOUR/SECONDARYGTFS.zip \
-maxTravelTimeSegmentLength 400
Tips
You may change -gtfsZipFileName /local/archive.zip
to -gtfsUrl http://remote/path.zip
or -gtfsDirectoryName /local/folder
in these commands depending on the location and format of your feed.
- Introduction & Purpose
- Intended system architecture
- TheTransitClock (ex. TransiTime) RealTime predictions
-
Digitransit (Route planning)
- Prerequisite installation
- UI Installation
- OpenTripPlanner, the data package it needs and related config
- Pelias geocoder & Elasticsearch
- Vector map tile server (stop markers) tilelive otp stops
- EMQX MQTT Broker
- Feed GTFS Realtime data to the MQTT broker (gtfsrthttp2mqtt)
- Ports / Firewall / Reverse proxy-ing
- Auto-starting everything on boot
- Final result & words