> That's a good point. I consider it a bug in what I've written. > The canonical behavior is to use the magnetic deviation at the > /reference/ point. Can somebody give me a hint how to obtain > the deviation at the location of arbitrary navaids and airports? The magnetic variation is calculated in SimGear for the present position in calc_magvar() file coremag.cxx and I don't know of any mag-variation information in our database. You will never get any data for deviation, since that is specific for the aircraft.
A dirty hack might be to relocate to the new position using the true bearing, reading the magnetic-variation property for the new position thereafter and relocate again using the new variation. Greetings, Torsten ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel