Skip to content

[Deprecated] Converts our GTFS-RT to Linked Connections and adds it to our knowledge graph

Notifications You must be signed in to change notification settings

iRail/gtfsrt2lc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

iRail GTFS-RT to Linked Connections

Converts the GTFS-RT to Linked Connections and adds this to our knowledge graph at todo

Use

Clone this repo and run npm install

Running ./bin/gtfsrt2lc.js --help will provide you with all flags that are currently supported.

Example usage

Let's say we want each minute to update our Linked Connections mongodb instance updated with realtime data, then we can do something like this in a crontab (crontab -e):

* * * * * /home/username/gtfsrt2lc/bin/gtfsrt2lc.js http://gtfs.irail.be/nmbs/trip_updates.pb -f mongo | mongoimport -d irail -c connections --upsert

About

[Deprecated] Converts our GTFS-RT to Linked Connections and adds it to our knowledge graph

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published