1
1
Fork
You've already forked gtfs-generator
1
No description
  • Rust 100%
Jonah Brüchert ef6f34094b
All checks were successful
ci/woodpecker/push/woodpecker/1 Pipeline was successful
ci/woodpecker/push/woodpecker/2 Pipeline was successful
Re-use transliterator instance
Will bring a speed up once https://github.com/ava57r/translit-rs/pull/10
is merged.
2026年07月05日 05:21:50 +02:00
src Re-use transliterator instance 2026年07月05日 05:21:50 +02:00
.gitignore Initial commit 2025年01月25日 20:20:21 +01:00
.woodpecker.yml Add ci pipeline 2026年06月05日 15:33:05 +02:00
Cargo.toml Re-use transliterator instance 2026年07月05日 05:21:50 +02:00
README.md README: Add usage examples 2026年07月01日 19:39:01 +02:00

GTFS Generator

This is a small crate based on gtfs-structures to reduce the required amount of boilerplate code when writing GTFS converters.

It provides checked construction of GTFS data structures, and functionality to write GTFS files.

OpenStreetMap Integration

The osm-module allows to match stop locations by multiple criteria (close known coordinates, distance from a known location, name, station ids etc.). This is commonly needed when generating GTFS feeds from sources that have no or low-quality stop locations. Its current featureset is shaped by what has been needed in practise so far.

So far it has been successfully used to match all active railway stations:

  • in Lithuania (by name, maximum distance to previous stop estimated from time and top speed)
  • in Romania (by name, maximum distance estimated from time and vehicle speed on the section)
  • in Montenegro (by name, incomplete very imprecise coordinates)
  • in Serbia, Bulgaria (by name and imprecise coordinates)
  • in Greece (by name, imprecise coordinates)
  • connected by European Sleeper services

Examples

You can find a usage example based on scraping from HTML here.

Further examples are the converters listed here