hrdf-parser

Crates.iohrdf-parser
lib.rshrdf-parser
version0.1.2
sourcesrc
created_at2024-08-13 11:08:14.345146
updated_at2024-09-14 19:54:31.678263
descriptionThis library is dedicated to the parsing of the HRDF format. For the moment, it can only parse the Swiss version of the HRDF format.
homepage
repositoryhttps://github.com/florianburgener/hrdf-parser
max_upload_size
id1335838
size196,391
Florian Burgener (florianburgener)

documentation

README

HRDF Parser

This library is dedicated to the parsing of the HRDF format. For the moment, it can only parse the Swiss version of the HRDF format.

Author: Florian Burgener

https://crates.io/crates/hrdf-parser

Prerequisites

Installation

cargo add hrdf-parser

Usage

let hrdf = Hrdf::new(
    Version::V_5_40_41_2_0_5,
    "https://opentransportdata.swiss/en/dataset/timetable-54-2024-hrdf/permalink",
    false,
    true,
)
.await?;

Supported HRDF format versions

HRDF 5.40.41, V 2.04 (38 fichiers) :

  • ATTRIBUT
  • ATTRIBUT_DE (file not used)
  • ATTRIBUT_EN (file not used)
  • ATTRIBUT_FR (file not used)
  • ATTRIBUT_IT (file not used)
  • BAHNHOF
  • BETRIEB_DE
  • BETRIEB_EN
  • BETRIEB_FR
  • BETRIEB_IT
  • BFKOORD_LV95
  • BFKOORD_WGS
  • BFPRIOS
  • BHFART (file not used)
  • BHFART_60
  • BITFELD
  • DURCHBI
  • ECKDATEN
  • FEIERTAG
  • FPLAN
  • GLEIS
  • GLEIS_LV95
  • GLEIS_WGS
  • GRENZHLT (file not used)
  • INFOTEXT_DE
  • INFOTEXT_EN
  • INFOTEXT_FR
  • INFOTEXT_IT
  • KMINFO
  • LINIE
  • METABHF
  • RICHTUNG
  • UMSTEIGB
  • UMSTEIGL
  • UMSTEIGV
  • UMSTEIGZ
  • ZUGART
  • ZEITVS (file not used)

HRDF 5.40.41, V 2.04 (this version also contains the 38 files listed above) :

  • GLEISE_LV95 (file not used)
  • GLEISE_WGS (file not used)
Commit count: 0

cargo fmt