Coder Social home page Coder Social logo

api.direkt.bahn.guru's People

Contributors

juliuste avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

api.direkt.bahn.guru's Issues

Travel durations in Portugal & the UK have 1 h offset

Not sure if this is in the scope of this project, but in countries with a timezone west of Germany (Portugal, UK), the timezone offset seems to be added to the travel durations, e.g., 65 min instead of 5 min. (Example: https://direkt.bahn.guru/?origin=9400674). However, this seems to be a mismatch between the timezones of departures and arrivals coming from db-hafas. So, might be a bit hacky to fix this here.
(The timezone of my browser is GMT, but I don't think this matters.)
image

Paris Eurostar Nord missing from the dataset

Hi,
I'd like to get all the departure from Paris Eurostar Nord, especially the ones to the UK but the API doesn't know this station. But it seems that this station is missing from the dataset. Only Paris Gare du Nord exists, and it doesn't have the Eurostar connection associated.
image

The DB does know it:
image

Thanks again for your amazing dataset !

Exclude wrong travel durations

Occasionally, the pop-ups on https://direkt.bahn.guru/ show travel durations that are by 360 h = 15 d too high. These numbers are reproducible.

Examples:

The wrong travel durations seem to come from the API. Without having tracked down the specific cause for this issue, a simple fix might be to filter out these travel times in the reachableForDay function. Currently, there seems to be no train on the world that runs for more than 206 h.

image
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.