Skip to content

jakluk/jdftools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JDFtools

A set of tools to work with data from the Czech National Information System of Timetables (CIS JR), provided in the JDF format. Current JDF version is 1.11, but older versions may be still used.

jdfmerge.py

The official source provides ~10.5k zip files (batches) inside another zip. That is rather unconvenient to parse. This script tries to merge all of them into a single batch. It can also download up-to-date data from the server.

Currently outputs 5/17 files specified in the JDF 1.11:

  • VerzeJDF
  • Zastavky
  • Oznacniky
  • Dopravci
  • Linky
  • LinExt
  • Zaslinky
  • Spoje
  • SpojSkup
  • Zasspoje
  • Udaje
  • Pevnykod
  • Caskody
  • Navaznosti
  • Altdop
  • Altlinky
  • Mistenky

Useful links

JDF specification (in Czech):

Final notes

IDs may not be consistent across data updates, because they are being generated during run and I have no access to the central database. Current priority is to parse and merge all the files. Then I may focus on refactoring and creating some other tools. Also, the software works only with bus data, since parseable timetables for any other means of transport aren't currently available.

About

A set of tools to work with data from the Czech National Information System of Timetables (CIS JR).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages