wiki:AirportData

Files

In data/airports/ directory you will find:

  • airports.xml file
  • png files with airports views

Airports files

For each airport, you will find a <airport> tag with following parameters:

  • name="Khersones" : Name of airport
  • altitude="12.0" : Altitude of airport
  • country="Ukraine" : Country
  • side="Blue" : Default side for server
  • kfu="1" : runaway axes
  • real_angle="10" : real runaway angle
  • lenght="1800" : runaway lenght
  • width="52" : runaway width
  • clsid="{CB6C59B3-E19E-4eb4-8277-E02A739DDDDA}" : CLSID of the airports

To place it on map, you need to specify one of following block (value are for runaway center):

  • Lockon units: (in meters form 0,0 position near Simferopol)
    • lo_longitude="-68526.39361" : Lockon longitude
    • lo_latitude="-61672.99089"
  • Latitude, longitude
    • latitude="44.2258333333"
    • longitude="43.0826388889"

For the airport views, you must add following fields:

  • filename="khersones.png" : filename of the airport screenshot, files must be
    • in png format.
    • Not too heavy, otherwise it will take time to load
  • map_center="1407|2097" : pixel coordinates for runaway center
  • map_runaway_begin="1344|2460" : pixel coordinates for beginning of the runaway (in runaway width center)

Tip: To make a full view of airports, use editor or mapview and make severals screenshots. Then use Gimp (or other) to assemble all screenshots and make a mosaic.