hi guys, yet again am playing with stuff for "mpmap" and a new "marble map desktop" and as always comes back to xplane data..
This data is not versioned, but rather a tarball with encoded line data. Also there has been some noises about unpacking this in the fgdata git repos, to make it even much bigger again, and I do not see this "ever working efficiently" moving forwards (in fact someone needs to make a decision on this soon before it becomes completely impractical to use imho) So I've played with a few ideas on this and one idea I have is to 1) create a set of scripts to partition the data eg split out the airport data from the file into directories similar to the "Airports/I/C/AO" structure.. and then in each directory have the file contain the "data" in a single file eg EGLL.xplane.txt 2) Version the "partitioned" data in svn instead of git.. Whilst I love git, the problem is that I honestly don't want the last decades worth of data, I only want the HEAD.. Developers can still use git-svn so best of both worlds (although limitation of only working in master) 3) the other thing that is tickling me is to partition the data not only in xplane.txt format but also in a "structured format".. such as xml, json or yaml.. Yaml is my preferred format, as its simple for a human to read/edit in a text editor.. 4) create a library to read the data.. I think what I'd like here is some way to read the data and covnert to end target use..in my case json from remove web server eg with mpmap I'd like to get data on EGLL and would expect some php/python classes to help and return the data in a structured format.. -- Examples.. /E/G/LL.txt contains the "raw" xplane data /E/G/LL.yaml - contains the structured data eg icao_code: EGLL name: London Heathrow altitude_ft: 130 altitude_m: 30.23 runways: - 09L-27R runway: 27L heading_true: 270.25 heading_magnetic: 269.23 ils: 114.23 etc etc What do you folks think... all feedback appreciated if it makes any sense at all.......... pete ------------------------------------------------------------------------------ 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-scenery mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-scenery
