* Martin Henne -- Thursday 05 February 2009:
> Is it possible, to do vice versa? Can I search for an airport ID 
> by searching for it using the name of the nearby city?

Not exactly what you're after, but you can search FlightGear's
database. I have this shell function in my ~/.bashrc:

  apt() { LANG=en_US zgrep "^1 " $FG_ROOT/Airports/apt.dat.gz|sed -r 
's,^.{14},,'|egrep -i "$*" ; }

and can use it like so:

  $ apt berlin       # all with Berlin somewhere in the name
  $ apt " berlin "   # all with Berlin as a separate word
  $ apt ^ed          # all German airports  (plus a few like ED5)

m.

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to