117
edits
Line 464: | Line 464: | ||
In addition, each parking has a number of additional parameters: | In addition, each parking has a number of additional parameters: | ||
type: specifies what type of aircraft can use this parking bay: Valid values | * '''type:''' specifies what type of aircraft can use this parking bay: Valid values for this parameter are: ''cargo, gate'' (=usually intermediate to heavy airline traffic), ''ramp'' (=usually smaller regional jets and commuter aircraft), ''ga'' (=general aviation), and ''mil'' (=military). See the description of the '''<flighttype>''' parameter in the traffic pattern description above for a comparison. | ||
for this parameter are: cargo, gate (=usually intermediate to heavy airline | * '''number:''' Currently unused, and likely to be removed. | ||
traffic), ramp (=usually smaller regional jets and commuter aircraft), ga | * '''heading:''' the heading the aircraft parked in this bay. | ||
(=general aviation), and mil (=military). See the description of the | *'''radius:''' a value used to determine whether the aircaft will fit in this bay: see also the description of the '''<radius>''' parameter in the traffic pattern description above. | ||
<flighttype> parameter in | |||
for a comparison. | |||
number: Currently unused, and likely to be removed | |||
heading: the heading the aircraft parked in this bay. | |||
radius: a value used to determine whether the aircaft will fit in this bay: | |||
see also the description of the <radius> parameter in | |||
Finally, the taxiway segments contain three parameters. | Finally, the taxiway segments contain three parameters. | ||
* '''begin''' (= the id of the parking or AINode this segment starts) | |||
* '''end''' (= the id of the parking or AINode this segment ends) | |||
* '''name''' (= name of the taxiway. Currently still unused) | |||
== Creating a ground network, a practical approach == | |||
Okay that finishes the technical description of the parking file format. The | Okay that finishes the technical description of the parking file format. The | ||
good news is | good news is that one probably doesn't need to know too much about the technical | ||
side of the file structure to create a ground network. | side of the file structure to create a ground network. | ||
== TaxiDraw == | |||
The CVS version of taxidraw (http://taxidraw.sourceforge.net/) has ground | The CVS version of taxidraw (http://taxidraw.sourceforge.net/) has ground | ||
network editing capabilities, and will in the short to intermediate term | network editing capabilities, and will in the short to intermediate term | ||
probably be the best option to create a ground network for FlightGear. | probably be the best option to create a ground network for FlightGear. | ||
Notice that the ground editing facilities in TaxiDRaw are still rather new, and although the stability of this feature has increased dramatically over the last few weeks, there are still a few issues related to the undo function, so be prepared for a bit of frustration, and make regular backups. | |||
a bit of frustration, and make regular backups | |||
== Obtaining TaxiDraw == | |||
I'm hoping that we can do a release of taxidraw fairly soon, so that the | I'm hoping that we can do a release of taxidraw fairly soon, so that the | ||
Line 508: | Line 497: | ||
using the free cygwin environment. | using the free cygwin environment. | ||
== Getting good reference material == | |||
The first step in preparation of creating a ground network consists of getting | The first step in preparation of creating a ground network consists of getting | ||
some reference material | some reference material. Ideally, You'd like to find a good satellite or arial image. If you can't find that, using a schematic diagram might also work. In most cases, using http://maps.google.com, and selecting the satellite imagery will work pretty well as reference. You can't save the google images, so importing them as a background image in taxidraw won't work. However, using these images as a reference and placing the parking notes at the approximate location indicated by the map will (at least for an initial version) give reasonable results. | ||
can't find that, using a schematic diagram might also work. In most cases, | |||
using http://maps.google.com, and selecting the satellite imagery will work | |||
pretty well as reference. You can't save the google images, so importing them | |||
as a background image in taxidraw won't work. However, using these images as | |||
a reference and placing the parking notes at the approximate location | |||
indicated by the map will (at least for an initial version) give reasonable | |||
results. | |||
== Creating the network == | |||
== Startup locations == | |||
Once you have the reference material, it's time to start building the ground | Once you have the reference material, it's time to start building the ground | ||
Line 533: | Line 514: | ||
This places the startup location directly where the mouse is located. | This places the startup location directly where the mouse is located. | ||
== AI Network Nodes == | |||
Next you want to insert the AINodes, without connecting them yet. The | Next you want to insert the AINodes, without connecting them yet. The | ||
Line 541: | Line 522: | ||
the node. | the node. | ||
== Connecting the nodes: Drawing the network == | |||
Once you are finished adding all the nodes, and startup locations, it's time | Once you are finished adding all the nodes, and startup locations, it's time | ||
Line 552: | Line 533: | ||
need to switch back to the standard edit mode press 'm' again. | need to switch back to the standard edit mode press 'm' again. | ||
Making sure we are still in "ARC" mode, select the first node or parking | |||
you want to connect to the network by clicking on it. The node you have | you want to connect to the network by clicking on it. The node you have | ||
clicked will be selected, and a red line with an arrow symbol will be drawn | clicked will be selected, and a red line with an arrow symbol will be drawn | ||
Line 569: | Line 550: | ||
the next taxiway. | the next taxiway. | ||
== Editing the startup location parameters == | |||
Once you have created a ground network, you'll find that it probably won't | Once you have created a ground network, you'll find that it probably won't | ||
Line 583: | Line 564: | ||
Editing the starup location radius, type, airlineCodes, and pushBack | Editing the starup location radius, type, airlineCodes, and pushBack | ||
parameters is not yet possible in taxidraw. So changing these requires saving | parameters is not yet possible in taxidraw. So changing these requires saving | ||
the project and editing these using a texteditor. | the project and editing these using a texteditor. Once you save the project, this will be done in a file [filename].tpj (taxidraw project). The groundnetwork will be saved in a file named [filename]-groundnet.xml, which will be in the same folder as where you saved the project. | ||
Once you save the project, this will be done in a file [filename].tpj | |||
(taxidraw project). The groundnetwork will be saved in a file named | |||
[filename]-groundnet.xml, which will be in the same folder as where you saved | |||
the project. | |||
You can edit the remaining parameters by loading this groundnet.xml file into | You can edit the remaining parameters by loading this groundnet.xml file into | ||
Line 598: | Line 573: | ||
existing ground network data and confirm this by clicking on "yes". | existing ground network data and confirm this by clicking on "yes". | ||
== Copying the ground network into FlightGear's data directory == | |||
Finally, once you have finished creating a groundnet work you can test it in | Finally, once you have finished creating a groundnet work you can test it in | ||
FlightGear. Create a directory in FlightGear's data/Airports/AI directory, | FlightGear. Create a directory in FlightGear's data/Airports/AI directory, | ||
with the name of the ICAO code of your airport. For example | with the name of the ICAO code of your airport. For example | ||
data/Airports/AI/EHAM | data/Airports/AI/EHAM. Next. locate the file [filename]-groundnetwork.xml and copy this to the directory you just created. Finally, rename the file you just copied to "parking.xml". | ||
Next. locate the file [filename]-groundnetwork.xml and copy this to the | |||
directory you just created. Finally, rename the file you just copied to | |||
"parking.xml | |||
== Testing the network == | == Testing the network == |
edits