No description
- Rust 100%
|
Jonah Brüchert
ef6f34094b
Will bring a speed up once https://github.com/ava57r/translit-rs/pull/10 is merged. |
||
|---|---|---|
| src | Re-use transliterator instance | |
| .gitignore | Initial commit | |
| .woodpecker.yml | Add ci pipeline | |
| Cargo.toml | Re-use transliterator instance | |
| README.md | README: Add usage examples | |
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