8,695
edits
(→Wiki articles: + Howto:Add procedures to the route manager) |
m (Remove deprecated enclose attributes) |
||
Line 62: | Line 62: | ||
* Another possibility, using [https://www.python.org/ Python] 3, is this [http://frougon.net/python_dumping_ground/short_scripts/extract-navdata.py extract-navdata.py script], which can install the files from a directory or directly from a tarball. Run <tt>extract-navdata.py --help</tt> or <tt>python3 extract-navdata.py --help</tt> for instructions. You may need to use <tt>py -3</tt> instead of <tt>python3</tt> on Windows, cf. [https://docs.python.org/3/using/windows.html Using Python on Windows]. | * Another possibility, using [https://www.python.org/ Python] 3, is this [http://frougon.net/python_dumping_ground/short_scripts/extract-navdata.py extract-navdata.py script], which can install the files from a directory or directly from a tarball. Run <tt>extract-navdata.py --help</tt> or <tt>python3 extract-navdata.py --help</tt> for instructions. You may need to use <tt>py -3</tt> instead of <tt>python3</tt> on Windows, cf. [https://docs.python.org/3/using/windows.html Using Python on Windows]. | ||
* You could also use a small bash-script to do the work for you. Bash is a shell, native on Linux, also exists on Macs. Copy the following code into a new file, name it "convert.sh". Put it into the lowest directory, where all the xml-files are stored. (.../Level-D Simulations/navdata/) | * You could also use a small bash-script to do the work for you. Bash is a shell, native on Linux, also exists on Macs. Copy the following code into a new file, name it "convert.sh". Put it into the lowest directory, where all the xml-files are stored. (.../Level-D Simulations/navdata/) | ||
:<syntaxhighlight lang="bash | :<syntaxhighlight lang="bash">#!/bin/bash | ||
for file in *.xml | for file in *.xml |