Configuring vehicle locations for OTP

84 views
Skip to first unread message

Walter Jenkins

unread,
Aug 28, 2020, 12:33:06 AM8/28/20
to OpenTripPlanner Users

I have been working on my first OTP configuration and I am working on getting the realtime information setup. I have the alerts and stop update information setup, but I am not seeing anything in the OTP configuration docs (https://docs.opentripplanner.org/en/latest/Configuration/#real-time-data) that mentions how to format vehicle positions in the router-config.json file. However it does mention vehicle positions as a form of GTFS-Realtime in the above section. Below is the config that I have put together so far any help would be greatly apprecieated.

Walter

{
    "updaters": [
        {
            "type": "real-time-alerts",
            "frequencySec": 30,
            "url": "https://www.metrostlouis.org/RealTimeData/StlRealTimeAlerts.pb",
            "feedId": "1"
        },
        {
            "type": "stop-time-updater",
            "frequencySec": 60,
            "sourceType": "gtfs-http",
            "url": "https://www.metrostlouis.org/RealTimeData/StlRealTimeTrips.pb",
            "feedId": "1"
        }

    ]
}
Reply all
Reply to author
Forward
0 new messages