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
ivac2:firdef_config_fir [2017/05/26 15:53]
ian.beswick [Magvar]
ivac2:firdef_config_fir [2017/09/02 19:40] (current)
ian.beswick [Theme]
Line 54: Line 54:
  
 ^Element ^Attribute ^Format ​ ^Comment | ^Element ^Attribute ^Format ​ ^Comment |
-|magvar ​    ​|value|string ​   |360|+|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"​| 
 +|north |autorotate|boolean|"​true"​ or "​false"​| 
 + 
 +Allows FIR-wide choice between magnetic-north upwards or true-north upwards; map projections from polar lat/lon coordinates to flat screen coordinates mean that this will only be correct at the middle of the FIR or preset. 
 + 
 +If autorotate is set "​true",​ north upwards will apply at the centre of each preset. 
 +If autorotate is "​false",​ presets will NOT be automatically rotated; instead, the map will stay in the default orientation for the whole FIR, which will typically be with true-north pointing upwards at the centre of the FIR. 
 +This setting will make little difference for FIRs at equatorial/​tropical latitudes, but for FIRs with higher northerly or southerly latitudes the map projection means that north changes direction on-screen either east or west of the middle of the FIR/​preset. 
 + 
 +//The default setting is for magnetic-north to be upwards, and autorotation set true if not specified otherwise.//​
  
-Note that Magnetic variation is a West Declination;​ positive magvar will result in maps being rotated to the west (counter-clockwise). Think "West is best"! 
-If you do not want magnetic variation to show in your maps, apply a preset rotation of same angle as the magvar and they will cancel each other out. 
 ===== Preset ===== ===== Preset =====
  
Line 75: Line 96:
 ^Element ^Attribute ^Format ​ ^Comment | ^Element ^Attribute ^Format ​ ^Comment |
 |theme |default|string ​   |name of default theme | |theme |default|string ​   |name of default theme |
 +
 +===== Label =====
 +
 +Default SDD label to load if not specified in atc.xml
 +
 +
 +^Element ^Attribute ^Format ​ ^Comment |
 +|label |default|string ​   |name of default label |