* Curtis Olson -- 11/3/2008 4:46 PM: > Is there a reason that we split up each airport's data into at least 5 > different files? XML is really good at structuring and segmenting data ... > could we not just put all the airport data into one file? That seems *MUCH* > cleaner to me.
That's why I had asked very much at the beginning: * Melchior FRANZ -- 11/1/2008 10:24 AM: | The question is, however, if we don't want to put all airport | data into one file, in which case the fourth dir level would | be superfluous. But for this actual reasons were given. One of it is the non-use of <PropertyList>s in some files (which I've complained about several times). > I actually don't like Melchior's proposal all that much either because now > you have 20,000+ files called ils.xml on your hard drive and 20,000+ > parking.xml files, even though they are in unique directory paths. Exactly, which is why this isn't a problem at all. That's what directories are for. And don't we have several "thumbnail.jpg" files as well?! And why shouldn't we!? The full path is what makes files unique. Making file *names* unique in *addition* would be outright silly. > One issue to consider is that on windows file systems, the minimum block > size is usually really big, so tons of little files really burns up and > wasted disk space. Yes, that's a problem, not only on Windows. You need modern file systems to handle that well. (ext2/3 was never modern. ;-) In any case: the argument "we can't change it now or we risk problems shortly before a release" falls flat on its nose. Because *no* code in CVS (C++ or Nasal) actually accesses files in $FG_ROOT/Scenery/Airports/ AFAIK, so I don't see what could possibly break. Better get it right now, than after a release. Because then we might actually get problems. m. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Flightgear-users mailing list Flightgear-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-users