-
Notifications
You must be signed in to change notification settings - Fork 48
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
[Progress Tracker] Support for Manual Trips and more stations #2411
Comments
What is currently blocking us from allowing users to create their own stations? I assume it's not just the actual endpoint creating stations but some validation for user created stations both at the time of creation and when using them, since there is a difference of wiki data provided stations and hafas provided stations? |
Technically, this would not be a problem. You would just have to think about how to validate the data and also avoid duplicates and data waste in general. |
This pinned issue will document the progress of the project for Träwelling supporting manual trips and other stations
then known by "Deutsche Bahn HAFAS".
The goal is to change Träwelling this way, we are able to support multiple data sources.
To achieve this we want to use data from Wikidata and the IFOPT (Wikipedia, OpenStreetMap Wiki) as a unique identifier for stations.
Important
Dear API Consumers, in the next few weeks and months we will change some endpoints and the data structure of Träwelling.
Please be aware of this and check the changelog regularly as there will be breaking changes.
We try to keep the impact as low as possible and add backwards compatibility where it is possible.
Tip
If you enjoy maintaining data, Wikidata is a suitable platform to save structured data so that a large number of projects can benefit from it under a free license.
Many train stations, bus stops and more do not exist there or have not stored any associated IDs (IBNR, IFOPT/DHID, ...). Wikidata lives from people who volunteer data.
If you are interested in helping to improve the data quality of public transport stations, you can have a look at train stations in your area and add missing information.
Have a look at Karlsruhe Main Station (Q688541) as an example.
Manual trip creation
closed beta
users create trips manually with existing station dataclosed beta
toexperimental features
(✨ move trip creation from closed to open beta #2427 )Station support
stations
table (🗃️ first database layout for linking wikidata entities with stations #2389)stations
table (every segment of the IFOPT ID should be stored in aseparate column!) (🗃️ add database layout for IFOPT #2413)
Detach from using the IBNR as a unique identifier
Träwelling ID
GET /trains/station/{name}/departures
(♻️ migrate departures endpoint to use TRWL-ID #2410)GET /trains/station/{name}/home
(♻️ migrate home station endpoint to use TRWL-ID #2412)origin
anddestination
onhafas_trips
#2580)ibnr
nullable #2579)The text was updated successfully, but these errors were encountered: