From 66cf156a7706cd20a7d2b966276be640914bda31 Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 14 Apr 2004 14:32:22 +0000 Subject: [PATCH] Pass along beacon, control tower, and windsock data. --- src/Airports/Utils/xp2runway.pl | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/Airports/Utils/xp2runway.pl b/src/Airports/Utils/xp2runway.pl index b3ad22eb..9c35ff8d 100755 --- a/src/Airports/Utils/xp2runway.pl +++ b/src/Airports/Utils/xp2runway.pl @@ -260,6 +260,15 @@ while ( <> ) { $apt_id, $F[1], $F[2], $F[4], $F[5], $F[8], $taxi_codes ); } + } elsif ( $F[0] == 14 ) { + # control tower + printf("C %10.6f %11.6f %d\n", $F[1], $F[2]); + } elsif ( $F[0] == 18 ) { + # light beacon + printf("B %10.6f %11.6f %d\n", $F[1], $F[2], $F[3]); + } elsif ( $F[0] == 19 ) { + # windsock + printf("W %10.6f %11.6f %d\n", $F[1], $F[2], $F[3]); } else { # something we don't know how to handle right now }