Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
ivac2:firdef_config_fir [2017/05/25 22:46]
ian.beswick [config.fir]
ivac2:firdef_config_fir [2017/09/02 17:48]
ian.beswick [North]
Line 54: Line 54:
  
 ^Element ^Attribute ^Format ​ ^Comment | ^Element ^Attribute ^Format ​ ^Comment |
-|magvar ​    ​|value|string ​   |0-355 |+|magvar ​    ​|value|float    |-180 to 180| 
 +|magvar ​    ​|value|string ​   |"​auto"​| 
 +Note that Magnetic variation East declinations are represented by positive numbers (rotated clockwise); West declinations are represented by negative numbers. 
 +If you do not want magnetic variation to show in your maps (so magnetic north points straight up), you may use the "​north"​ tag to indicate whether you wish true north or magnetic-north to show as straight-upwards at the centre of your FIR/​preset. 
 +If the string "​auto"​ is provided, instead of a number, the FIR will automatically calculate the magnetic variation for each possible latitude/​longitide in your FIR. 
 +Note that FIR-wide settings for magnetic-variation may be over-ridden for each ATC or preset within the FIR; the above settings are used anywhere where the setting is not over-ridden. 
 +//To convert from a true bearing to a magnetic bearing you deduct the magnetic-variation. If it is a west declination you are deducting a negative number which is the same as adding. For an east declination you are deducting the variation. 
 +To put it another way "West is Best. East is Least"​.//​ 
 +===== North =====
  
 +Default preset to load if not specified in atc.xml
 +
 +
 +^Element ^Attribute ^Format ​ ^Comment |
 +|north ​    ​|value|string|"​mag"​ or "​true"​|
 +| |autorotate|boolean|"​true"​ or "​false"​|
 +
 +Allows FIR-wide choice between magnetic-north upwards or true-north upwards; due to map projections from polar to flat, the north upwards will apply at the preset.
 +//The default setting is for magnetic-north to be upwards if not specified otherwise.//​
  
 ===== Preset ===== ===== Preset =====
Line 108: Line 125:
  <!-- default preset -->  <!-- default preset -->
  <preset default="​default"​ />  <preset default="​default"​ />
 + <!-- Magnetic Variation -->
 + <magvar value="​3.2"​ />
  <!-- default theme -->  <!-- default theme -->
  <theme default="​canac2"​ />  <theme default="​canac2"​ />