September 27, 200223 yr Hi,Solved all kinds of problems, see before.But i cannot produce an xml-code for aircraft position, ADIRS(long./lat.)Can someone help me?phjvh Jan "Beatus ille qui procul negotiis..."
September 27, 200223 yr I tried to find the archived post in this but couldn't find it.. These code snippets courtesy of Arne Bartels:2 Versions.. %((A:PLANE LATITUDE, degrees) d 0 >= s0 r abs d 3600 * 60 % r d 60 * 60 % flr r flr 'N' 'S' l0 ? )%!s!%!02.0f!°%!02.0f!'%!02.0f!"%((A:PLANE LONGITUDE, degrees) d 0 >= s0 r abs d 3600 * 60 % r d 60 * 60 % flr r flr 'E' 'W' l0 ? )%!s!%!03.0f!°%!02.0f!'%!02.0f!"%((A:PLANE LATITUDE, degrees) d 0 >= )%{if}%N%{else}%S%{end}%( abs d flr )%!02d!°%( 1 % 60 * d flr )%!02d!'%( 1 % 60 * )%!02.0f"%((A:PLANE LONGITUDE, degrees) d 0 >= )%{if}%E%{else}%W%{end}%( abs d flr )%!03d!°%( 1 % 60 * d flr )%!02d!'%( 1 % 60 * )%!02.0f"Regards,Roman[link:www.packers.com]GREEN BAY PACKERS][/i :-ukliam :-beerchug FS RTWR SHRS F-111 JoinFS Little Navmap
September 27, 200223 yr Author hithanks knew something about the code , but cannot make the gaugehelp!!??jan Jan "Beatus ille qui procul negotiis..."
September 29, 200223 yr Author HiWhatever i do,Can get the gauge to work.helpphjvh Jan "Beatus ille qui procul negotiis..."
September 29, 200223 yr Author HiBy the way,This is the codetried the others toodidn't workhelp%((A:PLANE LATITUDE, degrees) d 0 >= )%{if}%N%{else}%S%{end}%( abs d flr )%!02d! Jan "Beatus ille qui procul negotiis..."
October 1, 200223 yr Maybe try using the code attached as the degree sign was processed by HTML and is actually & # 176 ;Regards,Roman[link:www.packers.com]GREEN BAY PACKERS][/i :-ukliam :-beerchug FS RTWR SHRS F-111 JoinFS Little Navmap
October 1, 200223 yr Author HiYou are marvelous!It works allright!Until the next problem.jan Jan "Beatus ille qui procul negotiis..."
Create an account or sign in to comment