* Melchior FRANZ -- Sunday 25 November 2007:
>   $FG_ROOT/Airports/Data/K/KS/KSFO.xml

The script is done, and generates files like the attached
one for LEAB. The source is $FG_ROOT/Airports/apt.dat.gz,
used are entries 1, 14, 15, 5? as described in
http://www.x-plane.org/home/robinp/Apt810.htm
The overall disk space consumption is 34 MB (tar.gz: 633 kB).
I've dropped property type declarations ('type="double"') to
make that smaller, but it's still a lot. I did not want to
shorten the standard names "latitude-deg" to "lat" etc.

- should we drop more info, such as the frequencies? Or just
  some of the categories (which?)

- is the parking information enough for AI/Traffic. It's all
  there is in apt.dat.gz, but the parking.xml files have more.
  Is the extra information from different sources, or just
  made up?

Consider that the amount of data will increase with every
apt.dat update! If the above questions can be answered, then
implementing startup from parking positions would be a 5 minute
job. Or something.  :-)

m.
<?xml version="1.0"?>

<PropertyList>
	<id>LEAB</id>
	<name>Albacete</name>
	<elevation-m>2302</elevation-m>

	<locations>
		<location>
			<name>Custom Startup Location</name>
			<latitude-deg>38.953107</latitude-deg>
			<longitude-deg>-1.859228</longitude-deg>
			<heading-deg>0</heading-deg>
		</location>
		<location>
			<name>hangar 1</name>
			<latitude-deg>38.951629</latitude-deg>
			<longitude-deg>-1.863686</longitude-deg>
			<heading-deg>270</heading-deg>
		</location>
		<location>
			<name>hangar 2</name>
			<latitude-deg>38.951896</latitude-deg>
			<longitude-deg>-1.857965</longitude-deg>
			<heading-deg>45</heading-deg>
		</location>
		<location>
			<name>hangar 3</name>
			<latitude-deg>38.952894</latitude-deg>
			<longitude-deg>-1.855466</longitude-deg>
			<heading-deg>350</heading-deg>
		</location>
		<location>
			<name>hangar 4</name>
			<latitude-deg>38.954974</latitude-deg>
			<longitude-deg>-1.850636</longitude-deg>
			<heading-deg>220</heading-deg>
		</location>
		<location>
			<name>hangar 5</name>
			<latitude-deg>38.952909</latitude-deg>
			<longitude-deg>-1.852302</longitude-deg>
			<heading-deg>170</heading-deg>
		</location>
		<location>
			<name>militar 1 in E-2</name>
			<latitude-deg>38.951702</latitude-deg>
			<longitude-deg>-1.871606</longitude-deg>
			<heading-deg>160</heading-deg>
		</location>
		<location>
			<name>militar 1 in E-3</name>
			<latitude-deg>38.953153</latitude-deg>
			<longitude-deg>-1.868908</longitude-deg>
			<heading-deg>185</heading-deg>
		</location>
		<location>
			<name>militar 2 in E-3</name>
			<latitude-deg>38.953016</latitude-deg>
			<longitude-deg>-1.867321</longitude-deg>
			<heading-deg>190</heading-deg>
		</location>
		<location>
			<name>parking civil-1 E-1</name>
			<latitude-deg>38.953382</latitude-deg>
			<longitude-deg>-1.876178</longitude-deg>
			<heading-deg>255</heading-deg>
		</location>
	</locations>

	<viewpoints>
		<viewpoint>
			<name>ATC Tower</name>
			<latitude-deg>38.952854</latitude-deg>
			<longitude-deg>-1.860565</longitude-deg>
			<elevation-m>0</elevation-m>
		</viewpoint>
	</viewpoints>

	<frequencies>
		<approach>
			<channel>
				<frequency>118720000</frequency>
				<name>APP</name>
			<ichannel>
			<channel>
				<frequency>118720000</frequency>
				<name>APP</name>
			<ichannel>
			<channel>
				<frequency>139300000</frequency>
				<name>APP</name>
			<ichannel>
		</approach>
		<ground>
			<channel>
				<frequency>121800000</frequency>
				<name>GND</name>
			<ichannel>
		</ground>
	</frequencies>
</PropertyList>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to