Skip to content
/ xmly Public

A format conversion tool for flightgear AI/RM files, openRadar and ATC-pie drawing files

Notifications You must be signed in to change notification settings

bug/xmly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

xmly.py

xmly.py is a Python2 utility for generating various format route files used by Flightgear (Route Manager / AI Aircraft) and by OpenRadar or ATC-pie for SID/STAR path outlines.

Usage

python xmly.py -i --inputfid /path/to/InpFile -o --outputfid /path/to/{OutFile|"AUTO"}
               -f --srceformat  -g --genformat

with options:

  [-a --altitude ] [-h --help ] [-n --icao] [-p --proc] [-r rway]
  [-s --spec] [-t --type {"Sid"|"Star"}] [-w --waypoint]

Source formats

Source Format may be one of these:

Or use a specification file, manually generated, associating SID/STAR and Rwy with -s --spec path/to/specFile. Fields in spec file have: ICAO, "Sid|Star", WYPTID, RWYID

  • eg: KIAD, Star, BARIN, 30
  • eg: KIAD, Sid, TIICE, 19L

Output formats

Output format may be one of these:

  • -g FGAI FlightGgear AI Flightplan for fgdata/AI/FlightPlans
    • useful for creating e.g local AI SID/STAR traffic
  • -g FGLD FlightGear pseudo Level-D for Route Manager SID/STAR
    • does not support all tags foound in Paid-For navigraph data
    • but can create useful SID/STAR paths from FAA/KML files
  • -g ORDR Open Radar for display on OpenRadar
    • Save in /OpenRadar/data/routes/ICAO/ICAO.procedures.xml
  • -g RMV1 Flightgear Route Manager Load format
    • Use FG Route Manager Load button to open the route
  • -g ATPI ATC-Pie DRAW format
    • Use the generated ICAO.lst file to load the routes

Available options controling output:

  • -o some/path/AUTO will construct an appropriate FGLD, FGAI, ORDR formatted fileID and create the output file in some/path dir
  • -p --proc PROCID :limit output to specific named STAR/SIDs
  • -r --runway RWID Applies that runway ID into output xml tags
  • -t --type TYPE limits output to STAR / SID procedure type
  • -w --waypoint WPID Limits output generated to paths ending WPID

Some editing of the output files may be needed e.g. Correct Altitude, gear, flaps, on-ground fields.

Open Radar segments tinted blueish for STAR paths, reddish for SIDs you may wish to add labels, etc and customize Runway ID numbering ./samp directory contains sample source files.

Example calls

python xmly.py -i ./samp/LIME-Sids.kml -o ./test/LIME-Sids-ORDR.xml -f PMKS -g ORDR -n LIME -r 24 -t Sid

To create KSFO.procedures.xml, all SIDs + STARs, all labelled R28L:

python xmly.py -i pathto/FAAData/STARDP.txt pathto/myprocs/AUTO -f ARDP -g FGAI -n KSFO -r 28L

To create KDEN.procedures.xml, SIDs only, labelled R35L:

python xmly.py -i pathto/FAAData/STARDP.txt pathto/myprocs/AUTO -f ARDP -g FGAI -n KDEN -t Sid -r 28L

To create KBOS.procedures.xml, STAR ROBUC1 ending JOBEE R04R:

python xmly.py -i pathto/FAAData/STARDP.txt pathto/myprocs/AUTO -f ARDP -g FGAI -n KBOS -p ROBUC1 -t Star -r 04R -w JOBEE

About

A format conversion tool for flightgear AI/RM files, openRadar and ATC-pie drawing files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages