This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
usage:modules:netmapper [2020-04-12 04:56] blockhead |
usage:modules:netmapper [2020-04-12 10:03] blockhead external links, fix list of options, give an example |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Netmapper ====== | ====== Netmapper ====== | ||
- | '' | + | '' |
- | 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 mtmapper for a complete map. | + | 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 ===== | ===== Options ===== | ||
+ | < | ||
+ | main.lua [-m file] [-t] [-w file] < | ||
+ | < | ||
+ | -m, --map-file | ||
+ | -t, --no-trains | ||
+ | -w, --world-image Add a background world image. This is an external image, e.g. | ||
+ | from mtmapper that will be linked in the SVG output. | ||
+ | </ | ||
+ | Output will always be to ''< | ||
+ | ===== Examples ==== | ||
+ | Using the luajit interpreter, | ||
< | < | ||
- | main.lua | + | luajit |
- | -m, --map-file | + | |
- | -t, --no-trains | + | |
- | -w, --world-image Overlay a world image (this is an external image, e.g. from mtmapper that will be linked in the SVG output) | + | |
</ | </ | ||
+ | |||
+ |