Using TerraGear: Difference between revisions

Jump to navigation Jump to search
m
m (→‎Elevation data: : protect Bash against spaces in files and directories names)
Line 86: Line 86:
The command to create airports is "genapts850". Run it without any arguments to see the various command-line options.  
The command to create airports is "genapts850". Run it without any arguments to see the various command-line options.  


If it is simply run with a specified apt.dat and work directory, it will generate airport layouts for every airport in the file, which can take a long time. Make sure the input is not the apt.gz, but an uncompressed file. Otherwise genapts850 will block and not produce any output.
If it is simply run with a specified apt.dat and work directory, it will generate airport layouts for every airport in the file, which can take a long time. Make sure the input is not the apt.dat.gz, but an uncompressed file. Otherwise genapts850 will block and not produce any output.


If you are just creating a single airport and you know the ICAO ID (for example [[KSFO]], EGPH or EG32), use is as follows from your root scenery directory (in essence the directory above your data, work and output directories). If you use an apt.dat file with one single airport in it you should omit the <code>--airport</code> parameter.  
If you are just creating a single airport and you know the ICAO ID (for example [[San Francisco International Airport|KSFO]], EGPH or EG32), use it as follows from your root scenery directory (in essence the directory above your data, work and output directories). If you use an apt.dat file with one single airport in it you should omit the <code>--airport</code> parameter.  


  genapts850 --input=data/airports/apt.dat --work=./work --airport=<AIRPORT_ID>
  genapts850 --input=data/airports/apt.dat --work=./work --airport=<AIRPORT_ID>
Line 103: Line 103:
* <code>AirportObj/</code>
* <code>AirportObj/</code>


These contain the definitions of the airport layout and any objects present (e.g. windsocks and beacons).  
These contain the definitions of the airport layout and any objects present (e.g. windsocks and beacons).


==== Landuse data ====
==== Landuse data ====
88

edits

Navigation menu