This repository contains the code that constructs a custom GTFS-RT feed from the received InfoPlus data in the R-OV InfoPlus Receiver.
To get this code working, you need to have the following installed:
- Node.js (16, 18) (https://nodejs.org/en/)
- npm (https://www.npmjs.com/get-npm)
- typescript (npm install -g typescript)
- ts-node (npm install -g ts-node)
- Clone this repository
- Run
npm install
in the root of the repository - Run
npm run build
in the root of the repository
Before running the code, you will have to probably modify the InfoPlusRepository
class to use your correct database
instance and tables.
An example query is given, this is the query that runs on the private R-OV database, so it will most likely not work for you without modification. All datafields are what they are in InfoPlus, without generally any conversions, the names should speak for themselves, but are translated from the Dutch names in InfoPlus to English.