Hi Yves,

HB-GRAL wrote:

> In this post you write:
> "Note, this directory structure is not meant to be used primarily as a
> datasource during runtime."
> 
> Why not?

Because when you look at the runtime performance, parsing XML probably
isn't the natural, first choice  :-)

> Example:
> http://code.google.com/p/flightgear-world-scenery/source/browse/data/xplane-single/E/EDDF.xml
> 
> I don=92t know if this make sense, but I kindly ask to check it once and =
> 
> send comments.

There was a large thread (during FSweekend 2008, I'd guess) as a
follow-up to our announcement of the above XML airport structure. 
That's way too much to repeat here, better ask the archives.  Anyhow,
the bigger picture was to use the XML structure as a transport medium
and to update relevant changes into local, spatially indexed databases
for use with FMS'es and the like.
I don't think you want to parse large amounts of XML while dialling
through the airport list in your FMS when you quickly have to divert to
an alternate because your landing clearance was cancelled and you're
short of fuel.

> I would also vote for a less nested structure than A/B/C/D/DDDD.xml, =
> 
> just D/DDDD.xml

Well, everybody has his personal favourite for a directory structure. 
We had been evaluating a lot of pros and cons (poor man's indexing,
directory traversal latency, number of directories and the like) before
deciding in favour of the structure the way it is now.
The mentioned mailing list thread contains a lot of discussion about
the directory structure as well and there was no convincing argument
against the structure we chose.  Therefore I don't think it's clever to
push yet another schema unless you can provide a Really Good Reason.

Best regards,
        Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to