This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
usage:modules:netmapper [2020-04-12 04:55] blockhead created |
usage:modules:netmapper [2020-04-12 10:03] blockhead external links, fix list of options, give an example |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | '' | + | ====== Netmapper ====== |
- | netmapper produces | + | '' |
- | ====== Options | + | netmapper produces an SVG file that shows the straight and curved sections of tracks and shades them from blue to red in ascending height (y-coordinate). It also draws yellow circles at the front of trains and black text to indicate their Line Number property next to that circle. You can optionally overlay it on the output of another program like [[https:// |
+ | |||
+ | ===== Options ===== | ||
< | < | ||
- | main.lua [-m file] [-t] [-w file] < | + | main.lua [-m file] [-t] [-w file] < |
- | -m, --map-file | + | |
- | -t, --no-trains | + | -m, --map-file |
- | -w, --world-image | + | -t, --no-trains |
+ | -w, --world-image | ||
+ | | ||
</ | </ | ||
+ | |||
+ | Output will always be to ''< | ||
+ | |||
+ | ===== Examples ==== | ||
+ | Using the luajit interpreter, | ||
+ | < | ||
+ | luajit main.lua ~/ | ||
+ | </ | ||
+ | |||
+ |