=gtfs_of_oud2= is a suite of tools, written in Perl, to assist the development of GTFS feeds from =.oud2= OuDiaSecond diagram files. Though not supported, =gtfs_of_oud2= may as well be used to process legacy OuDia files.
=gtfs_of_oud2= is a suite of tools, written in Perl, to assist the development of GTFS feeds from =.oud2= OuDiaSecond diagram files. Though not supported, =gtfs_of_oud2= could as well be used to process legacy OuDia files.
* Usage
* Usage
For the time being, the suite only has a single utility, =oud2_parser.pl=. Please note that this does not return anything yet and simply prints the result of the parse to the standard output.
For the time being, the suite only has a single utility, =oud2_parser.pl=. Please note that this does not return anything yet and simply prints the result of the parse to the standard output.
...
@@ -10,15 +10,24 @@ Sample diagram files are provided in the ~tests/dia~ directory.
...
@@ -10,15 +10,24 @@ Sample diagram files are provided in the ~tests/dia~ directory.
** =oud2_parser.pl=
** =oud2_parser.pl=
Parse a single diagram file.
Parse a diagram file set.
#+begin_src bash
#+begin_src bash
oud2_parser.pl
oud2_parser.pl
oud2_parser.pl <filename>.oud2
oud2_parser.pl <filename>.oud2
#+end_src
#+end_src
For now, if no file is provided, a default diagram file is used instead.
The files located in =../oud2= i.e. in a folder called =oud2= located in the directory above this =README= will be processed. Note that the following hierarchy must be respected:
#+begin_src text
oud2
|-- train
| |-- dia1.oud2
| |-- dia2.oud2
| |-- ...
#+end_src
For now, =oud2_parser= only outputs information about used diagram files to the standard output.