FWIW, I dodge the issue of inventing a new artbitrary text file format and store everything but world data in XML. And it would speed up my site's restart time if I stored the world data in XML too, since I use a very liberal regexpr to parse the world data.
I use one file (which started life as the "Consolidated Traveller Region Name List") which contains all of the metadata for my map. A rough schema is:
<Sectors>
<Sector>
<X>sector_x</X>
<Y>sector_y</X>
<Name>sector_name</Name>
<Name Lang="language_code">other_name</Name>
<DataFile>data.sec</DataFile>
<Subsector Index="A">subsector_name</Subsector>
<Subsector Index="B">subsector_name</Subsector>
...
<Subsector Index="P">subsector_name</Subsector>
<Route Start="hex" End="hex" Type="XBoat" />
<Route Start="hex" End="hex" EndXOffset="0" EndYOffset="0" Type="J-5" Color="White" Style="Dashed" />
...
</Sector>
...
</Sectors>
Any element can have metadata attributes:
Source="The Travellers' Digest #19"
Href="http://zho.berka.com"
Author="James Holden, Mike Mikesh, and Nancy Parker"
I can have distinct credits for each item (world data, routes, borders, subsector names, etc). Right now I don't do anything with the credits, but keep your eyes peeled.
The nice thing about the XML approach is that I can throw in as many of these attributes as I want - and right now my parser simply ignores them.
The XML format is rough - it was easy to throw together in C#. I'd probably add <Subsectors> and <Routes> wrappers in before I was going to suggest this as an interchange format.
Additional features would be:
- Borders
- Dates, e.g. you could specify world data for different eras)
- World "tweaks", e.g. add/remove worlds in the metadata, w/o changing the world data; modifying worlds by a regression algorithm, etc.
FWIW, Galactic has a format for routes, but it is subsector-based. J Greely also has an ".msec" format defined here:
http://dotclue.org/t20/