On Mon, May 18, 2009 2:43 pm, Yan Seiner wrote: > I'm running linux (just to clarify the following....) > > I'm trying to get the lat & long of all installed airports. So far I've > reduced to this: > > for apt in `find Airports -name *threshold.xml` ; do basename $apt > .threshold.xml; done > > This returns a list of airport codes. > > Then I can look up the lat & long in Airpots/index.txt > > Does the index.txt file in the Airports directory list all of the airports > in the world? > > y...@selene:~/Desktop/flight$ wc Airports/index.txt > 25715 25715 705134 Airports/index.txt > > That's 25 thousand airports; I would hope that's a pretty complete list. > Would there ever be a case where an airport in a dataset is not in > index.txt (that's not a bug)?
One more question: Does anyone know of a list cross-referencing ICAO and FAA (the 3 and 4 letter private airport IDs) codes to names? I've found various lookup servies, but no API for accessing them and no list I can download. --Yan -- Yan Seiner, PE Support my bid for the 4J School Board http://www.seiner.com ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel