// Formats for Batch Update commands. // (Note that all models accept this format, and ignore inapplicable data). // The field separator is the pipe character '|' // There is no sensitivity to case. // All commands are fail-safe, and may be repeated without restriction. // CT = Country two letter ident, optionally followed by '-' and the // country name. // If the country is new to the database, the latter form is mandatory. // Lat = N or S, degrees, the tilde character, and minutes to 3 dec places. // Long = E or W, degrees, the tilde character, and minutes to 3 dec places. // ADD|APT|ICAO|CT|City|Facility|Lat|Long|Height|Fuel|[MIL] // where Height is in feet // Fuel (optional field) - any combination of the letters J, A, M // [MIL] (optional field) - either [MIL] or [PRV] // ADD|INT|ICAO|CT|Lat|Long // ADD|NDB|ICAO|CT|City|Facility|Lat|Long|Frequency|L // where L (optional field) - indicates the alternative icon. // ADD|VOR|ICAO|CT|City|Facility|Lat|Long|Frequency|DME|WX|PWR // where DME (optional field) may read DME, VORDME, TACAN, VORTAC, or VOR. // WX (optional field) must read WX. // PWR (optional field) may read LOW, HIGH, or TERM. // ADD|RWY|ICAO|CT|LengthXWidth|Description|Surface|Lighting|Picture // where Airport "ICAO|CT" must exist in the database // Length is in feet, and XWidth is optional. (eg 6000x150). // Description consists of the rwy heading range 00-18, // optionally suffixed by L, R, or C. // Surface is one of: Hard, Turf, Sealed, Gravel, Dirt, Soft, // Unkwn, Water. // Lighting is one of: no lts, pc lts, pt lts, ft lts. // Picture is either zero, // or 2 hex digits (III Pilot icon stripe), // or 8 hex digits (90/95 picture), // or 248 digits (3P stripe/picture) // ADD|FRQ|ICAO|CT|Type|Frequency|M|R:restrictions // where Airport "ICAO|CT" must exist in the database // Type is one of: ATIS, Ground, Tower, Unicom, Taxi, // Clrnce, Multi, Other, Dep, App, Arrivl, // Cls B, TMA, CTA, Cls C, TRSA. // M (optional field) must read "M" if present, // and is the "pc lts" frequency flag. // R:restrictions (optional field must start with R:) // can consist of any of the // following elements IN THIS ORDER, // separated by spaces (d=digits 0-9): // ddd-ddd - bearings (must include leading zeros) // ABOVEdddd- height // BELOWdddd- height // REMOTEVORXXX - XXX is vor ident // plain text // ADD|USR|Ident|Lat|Long|Name // DEL|APT|ICAO|CT // DEL|INT|ICAO|CT // DEL|NDB|ICAO|CT // DEL|VOR|ICAO|CT // The above may optionally include City and Facility fields. // If included, they must be correct. // DEL|RWY|ICAO|CT|Length|Description // DEL|FRQ|ICAO|CT|Type|Frequency // DEL|USR|Ident // Note that: 1) ADD when the item is present, is treated as modify. // 2) DEL when the item is absent is not an error. // This means that the same batch file may be run many times on the // same database without problems. // This is important while correcting errors in the file. // The best way to obtain example batch files is to create some using // File/SaveAs in your _GEN program. // (This does not apply to USR entries, which cannot at present be dumped // in Batch format, and RTE entries which have no batch facilities at all).