Curtis L. Olson writes:

 > Just a couple thoughts to consider.  We are looking at 16-20,000
 > airports so we couldn't stuff them all in a single directory.  Even
 > splitting them into subdirectories by first letter probably isn't
 > enough.  Also, consider that with zillions of tiny files, much space
 > is wasted on the file system which hits people in the windows land the
 > hardest it seems because they often have a very large minimum file
 > size.

Splitting by country could be interesting (possibly by country and
state for the US):

  Airports/airport-index.xml
  Airports/AU/airports.xml
  Airports/CA/airports.xml
  Airports/UK/airports.xml
  Airports/US/CA/airports.xml
  Airports/US/NY/airports.xml
  Airports/US/MI/airports.xml

and so on.  airport-index.xml would have minimum info on each airport:

  <airport>
   <ident>CYOW</ident>
   <lat>..</lat>
   <lon>..</lon>
   <location>CA/airports.xml</location>
  </airport>

Unfortunately, we don't currently have nationality information in
default.apt.gz, but it is in the DAFIF, so we can add most of it
automatically.  This is also nice because we can assign different
national files to different maintainers (one might want to handle AU
and NZ, another might want to handle UK, FR, DE, ES, and NL, and so
on).
  

All the best,


David

-- 
David Megginson, [EMAIL PROTECTED], http://www.megginson.com/

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to