Giter Site home page Giter Site logo

Comments (2)

derhuerst avatar derhuerst commented on July 20, 2024

In the database:

-P gtfs -N 'https://vbb-gtfs.jannisr.de/latest/'

berlin-gtfs-rt-server is just a thin wrapper around hafas-gtfs-rt-feed, which actually needs your GTFS Schedule feed to import it into the DB and use it to match HAFAS data.

Therefore, you could modify this repo's build.sh to obtain the GTFS feed however you want it (directly using files from another location, obtaining them from an object store, etc.). However, as explained in #12 (comment), using hafas-gtfs-rt-feed directly might be more straightforward.

Via URL:

--feed-url 'https://vbb-gtfs.jannisr.de/latest/' \

This is a feature of hafas-gtfs-rt-feed where it signals to consumers which (version of the) GTFS Schedule feed the GTFS Realtime feed "fits to". It is inspired by TransitTracker/backend#12, which I want to bring to gtfs-rt-inspector.

All the flag does is cause a redirect from /gtfs-static to the specified GTFS feed's URL.

https://github.com/derhuerst/hafas-gtfs-rt-feed/blob/36a54167a7d8d7296a0beef76122cc6457ef79fb/serve.js#L70

https://github.com/derhuerst/hafas-gtfs-rt-feed/blob/36a54167a7d8d7296a0beef76122cc6457ef79fb/lib/serve.js#L217-L220

from berlin-gtfs-rt-server.

derhuerst avatar derhuerst commented on July 20, 2024

Closing, please re-open if this didn't answer your question.

from berlin-gtfs-rt-server.

Related Issues (8)

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.