Skip to content

Commit

Permalink
Add Dutch GTFS-RT feeds
Browse files Browse the repository at this point in the history
There's two, one for local and one for long distance routes, adding both
with the same tag seems to do the right thing.
  • Loading branch information
vkrause authored and jbruechert committed Feb 26, 2024
1 parent 01ea310 commit 96c32dc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions feeds/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@
"name": "ovapi",
"type": "transitland-atlas",
"transitland-atlas-id": "f-u-nl"
},
{
"name": "ovapi",
"type": "url",
"spec": "gtfs-rt",
"url": "https://gtfs.ovapi.nl/nl/trainUpdates.pb"
},
{
"name": "ovapi",
"type": "url",
"spec": "gtfs-rt",
"url": "https://gtfs.ovapi.nl/nl/tripUpdates.pb"
}
]
}
2 changes: 1 addition & 1 deletion motis/config.ini.j2
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ host=127.0.0.1
first_day=TODAY
num_days=365
{% if flavour != "import" %}
{% for feed in gtfsrt_feeds %}gtfsrt={{ feed.id }}|{{ feed.url }}|{{ feed.authorization }}
{% for feed in gtfsrt_feeds %}gtfsrt={{ feed.id }}|{{ feed.url }}{% if feed.authorization %}|{{ feed.authorization }}{% endif %}
{% endfor %}
{% endif %}
[intermodal]
Expand Down

0 comments on commit 96c32dc

Please sign in to comment.