RIV2ASCII is released under GPL.
2004-2005 © Gavin Spearhead
Supported typed:
.
Usage: riv2ascii <options> <riv Code>
--help -h | help |
--year -y | specify year |
--axle-arrangement -A | parse an axle arrangement |
--axles -a | specify number of wheel sets |
--country-by-number -c | specify country code by number |
--country-by-name -C | specify country code by name |
--file -f | load a file |
--html -h | specify HTML output |
--nohtml | specify plain text output |
--interactive -i | interactive mode |
--uic-number -u | parse UIC-number |
--history-file -Y | Set the file used for command line history |
--debug -d |
Download source code here (version 0.1.4)
Explanation:
The RIV codes consists of a main class, written down by one capital letter, and an optional number
of small letters, the subclass. E.g. Fals, Saadksm, or Es. The main classes are described in uic_c.df;
the sub-classes in uic_s.df. In uic.cnt the coutry codes for the origin of the wagons are described, e.g.
DBAG is 80 (Germany), NS is 84 (Netherlands) and 76 is NSB (Norway).