Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate Swedish realtime feeds #125

Open
vkrause opened this issue Mar 11, 2024 · 5 comments
Open

Integrate Swedish realtime feeds #125

vkrause opened this issue Mar 11, 2024 · 5 comments
Labels
data sources adding, removing, modifying or discussing problems with specific data sources

Comments

@vkrause
Copy link
Member

vkrause commented Mar 11, 2024

See https://www.trafiklab.se/api/.

@jbruechert
Copy link
Collaborator

This looks a bit complicacted:

We could just add all of them and hope deduplication is fast enough

@vkrause
Copy link
Member Author

vkrause commented Mar 11, 2024

Right, that's the only option I see as well, similar to the situation in DE.

@1Maxnet1
Copy link
Contributor

We could just add all of them and hope de-duplication is fast enough

Which kind of de-duplication is currently in place? Otherwise there are also existing tools to combine GTFS-RT feeds, which might be worth a look: https://github.com/mbta/concentrate

@derhuerst derhuerst added the data sources adding, removing, modifying or discussing problems with specific data sources label Mar 19, 2024
@vkrause
Copy link
Member Author

vkrause commented Mar 19, 2024

Which kind of de-duplication is currently in place?

We don't have any Transitous-specific deduplication so far, only what's already in MOTIS.

@felixguendling
Copy link
Contributor

We could just add all of them and hope deduplication is fast enough

With the latest release v0.12.5 it should be fast enough. At least before it was approx 50% of the import time, now it's gone from the profiler. So my hope would be that this approach would work on a larger scale (e.g. also in Germany).

Are there any blockers in MOTIS to try this? If I remember correctly, I read somewhere that Sweden uses the alternative method to identify trips via route_id, direction, etc. (maybe I'm wrong.. can't find it anymore) but I tried to check with the first feed from https://www.trafiklab.se/api/ and didn't get any unsupported_no_trip_id in the statistics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data sources adding, removing, modifying or discussing problems with specific data sources
Development

No branches or pull requests

5 participants