Page 1 of 1

Posted:
Fri Jan 19, 2007 8:39 pm
by Timmo
I was just wondering if anyone had written a replacement/new xml file for a airport?
Whakatane airport is in the wrong place so ill need to write a new file for...well everything. If someone has it would be great if i could get a copy- that would mean id just replace the coordinates and relevant info to make Whakatane.
Cheers

Posted:
Sat Jan 20, 2007 1:02 pm
by Timmo
Ok nevermind that last request....ive successfully compiled the XML for Whakatane airport
RWY alignment is wrong though...it doesnt appear to be reading my Magnetic declanation value

Posted:
Sat Jan 20, 2007 8:02 pm
by Christian
Hi Tim
The magnetic variation doesn't do anything (except show in the map view).
You need to use the real orientation in the xml. When I created my first xmls I made the mistake getting the angle straight from the GIS. Of course this doesn't work as you need to calculate the angle using great circle mathematics. Maybe you have a similar problem?
Cheers,
Christian

Posted:
Sun Jan 21, 2007 10:23 am
by Timmo
hmm....Ok wierd
The SDK docs dont mention that at all....do you know of a online convertor/calulator?
When sitting on the runway, the compass shows its about 20 degrees out (hence why i assumed it was the variation problem)

Posted:
Sun Jan 21, 2007 10:30 am
by Christian
I use this one. Simply get the 2 opposing runway ends in lat/long and calculate the angle. This will give you real orientation.
http://williams.best.vwh.net/gccalc.htmChristian