gtfs_of_oud2
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
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.
Sample diagram files are provided in the tests/dia
directory.
oud2_parser.pl
Parse a diagram file set.
oud2_parser.pl
oud2_parser.pl <filename>.oud2
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:
oud2
|-- train
| |-- dia1.oud2
| |-- dia2.oud2
| |-- ...
For now, oud2_parser
only outputs information about used diagram files to the standard output.
Licensing
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.