Last edit by: hillrider
Here are some more hidden features of the ITA software.
The extensions to the itasoftware routing language are accessed by postpending commands after a '/'. There's a wide set of commands available, but there's no description of them available on the ITA web site. Unfortunately, each command applies only to one part of the trip, so they must usually be entered in each box.
EXCLUDE SPECIFIC AIRLINES
Command is "-airlines XX ..."
Ex: prohibit jetBlue or Delta
from: BOS ::/ -airlines B6 DL
to: LAX ::/ -airlines B6 DL
LIMIT TO SPECIFIC AIRLINES
Command is "airlines XX ..."
Ex: consider only jetBlue or Delta
from: BOS ::/ airlines B6 DL
to: LAX ::/ airlines B6 DL
LIMIT TO A SINGLE ALLIANCE
Command is "alliance star-alliance|oneworld|skyteam"
Ex: oneworld carriers only
from: BOS ::/ alliance oneworld
to: LAX ::/ alliance oneworld
EXCLUDE CODESHARES
Command is "-codeshare"
Ex: prohibit jetBlue or Delta
from: BOS ::/ -codeshare
to: LAX ::/ -codeshare
LIMIT DURATION OF ITINERARY, IN MINUTES
Command is "maxdur XXX"
Ex: no more than 5hrs for each part of trip
from: BOS ::/ maxdur 300
to: LAX ::/ maxdur 300
EXCLUDE OVERNIGHT STOPS, AIRPORT CHANGES, REDEYES, PROPELLER PLANES, TRAINS, HELICOPTERS, ANY KIND OF SURFACE TRAVEL
Commands are "-overnight", "-change", "-redeye", "-prop", "-train", "-helicopter", "-surface"
Ex: no overnight stops, no airport changes, no redeyes, no propeller planes
from: BOS ::/ -overnight, -change, -redeye, -prop
to: LAX ::/ -overnight, -change, -redeye, -prop
SET MINIMUM OR MAXIMUM TIME FOR CONNECTIONS, IN MINUTES
Commands are "minconnect XX", "maxconnect XX"
Ex: no less than one hour, no more than two hour connections
from: BOS ::/ minconnect 60, maxconnect 120
to: LAX ::/ minconnect 60, maxconnect 120
EXTRA CONNECTION TIME
Command is "padconnect XX"
Ex: require at least 20 minutes more than airline specified minimum connection time
from: BOS ::/ padconnect 20
to: LAX ::/ padconnect 20
PUTTING LOTS OF THINGS TOGETHER
Separate with commas.
Ex:
from: BOS :: UA UA / f bc=l|bc=y, -redeye, -prop
to: LAX :: UA+ / f ua.bos+lax.yup, padconnect 20, -overnight
The extensions to the itasoftware routing language are accessed by postpending commands after a '/'. There's a wide set of commands available, but there's no description of them available on the ITA web site. Unfortunately, each command applies only to one part of the trip, so they must usually be entered in each box.
EXCLUDE SPECIFIC AIRLINES
Command is "-airlines XX ..."
Ex: prohibit jetBlue or Delta
from: BOS ::/ -airlines B6 DL
to: LAX ::/ -airlines B6 DL
LIMIT TO SPECIFIC AIRLINES
Command is "airlines XX ..."
Ex: consider only jetBlue or Delta
from: BOS ::/ airlines B6 DL
to: LAX ::/ airlines B6 DL
LIMIT TO A SINGLE ALLIANCE
Command is "alliance star-alliance|oneworld|skyteam"
Ex: oneworld carriers only
from: BOS ::/ alliance oneworld
to: LAX ::/ alliance oneworld
EXCLUDE CODESHARES
Command is "-codeshare"
Ex: prohibit jetBlue or Delta
from: BOS ::/ -codeshare
to: LAX ::/ -codeshare
LIMIT DURATION OF ITINERARY, IN MINUTES
Command is "maxdur XXX"
Ex: no more than 5hrs for each part of trip
from: BOS ::/ maxdur 300
to: LAX ::/ maxdur 300
EXCLUDE OVERNIGHT STOPS, AIRPORT CHANGES, REDEYES, PROPELLER PLANES, TRAINS, HELICOPTERS, ANY KIND OF SURFACE TRAVEL
Commands are "-overnight", "-change", "-redeye", "-prop", "-train", "-helicopter", "-surface"
Ex: no overnight stops, no airport changes, no redeyes, no propeller planes
from: BOS ::/ -overnight, -change, -redeye, -prop
to: LAX ::/ -overnight, -change, -redeye, -prop
SET MINIMUM OR MAXIMUM TIME FOR CONNECTIONS, IN MINUTES
Commands are "minconnect XX", "maxconnect XX"
Ex: no less than one hour, no more than two hour connections
from: BOS ::/ minconnect 60, maxconnect 120
to: LAX ::/ minconnect 60, maxconnect 120
EXTRA CONNECTION TIME
Command is "padconnect XX"
Ex: require at least 20 minutes more than airline specified minimum connection time
from: BOS ::/ padconnect 20
to: LAX ::/ padconnect 20
PUTTING LOTS OF THINGS TOGETHER
Separate with commas.
Ex:
from: BOS :: UA UA / f bc=l|bc=y, -redeye, -prop
to: LAX :: UA+ / f ua.bos+lax.yup, padconnect 20, -overnight
TIP: More hidden features of ITA
#361
Join Date: Jan 2013
Location: NYC
Posts: 538
Advanced Routing Code: "/ alliance star-alliance oneworld"
QPX Warning message: Malformed SLICE-COMMAND-LINE: alliance expects exactly one argument
Advanced Routing Code: "/ alliance star-alliance;oneworld"
QPX Warning message: Illegal COMMAND-LINE prefix: oneworld
Advanced Routing Code: "/ alliance ~star-alliance"
QPX Warning message: SLICE-PERMITTED-ALLIANCE: "~star-alliance" is not a Carrier Alliance
Advanced Routing Code: "/ ~alliance star-alliance"
QPX Warning message: Illegal COMMAND-LINE prefix: ~alliance
#366
FlyerTalk Evangelist
Join Date: Mar 2004
Location: SGF
Programs: AS, AA, UA, AGR S (former 75K, GLD, 1K, and S+, now an elite peon)
Posts: 23,194
does ac,ua+ mean the same thing as ac+,ua+?
The latter has never worked for me, but I've never tried the former, as I interpret it to mean "one segment on AC or any number of segments on UA." I want the search to mean "any number of segments on AC or any number of segments on UA," or even better, "any number of segments on AC and/or UA."
If it means the latter, that's big news for my ITA searches!
The latter has never worked for me, but I've never tried the former, as I interpret it to mean "one segment on AC or any number of segments on UA." I want the search to mean "any number of segments on AC or any number of segments on UA," or even better, "any number of segments on AC and/or UA."
If it means the latter, that's big news for my ITA searches!
#367
FlyerTalk Evangelist
Join Date: Aug 2002
Location: London
Programs: Mucci. Nothing else matters.
Posts: 38,644
does ac,ua+ mean the same thing as ac+,ua+?
The latter has never worked for me, but I've never tried the former, as I interpret it to mean "one segment on AC or any number of segments on UA." I want the search to mean "any number of segments on AC or any number of segments on UA," or even better, "any number of segments on AC and/or UA."
The latter has never worked for me, but I've never tried the former, as I interpret it to mean "one segment on AC or any number of segments on UA." I want the search to mean "any number of segments on AC or any number of segments on UA," or even better, "any number of segments on AC and/or UA."
As far as I can see ac,ua+ means "any number of segments on AC and/or UA". I haven't found any valid combinations for AC and UA, but I have tried this formula with BA/QF on multi-sector trips between the UK and Australia, and seen different combinations of BA and QF codes returned.
#368
Join Date: Nov 2007
Location: SW London
Programs: BAEC Silver; Hilton Diamond;a miscellany of other hotel non-statuses
Posts: 3,607
f+ /f o=ua|o=ac|o=aa, bc=m
Or similar? Assuming you want operating carrier to be those three to simplify earning, etc.
Last edited by EsherFlyer; Dec 15, 2013 at 12:45 pm
#369
Join Date: Jun 2011
Location: YYZ
Programs: AC-ELITE 50K
Posts: 66
#374
FlyerTalk Evangelist
Join Date: Mar 1999
Posts: 12,097
#375
Join Date: Nov 2011
Location: ORD
Programs: status free since 2017
Posts: 2,188
Is there any way to define various connection cities?
For ex, right now I have to do this as two different queries:
JFK :: aa DFW aa
SFO
JFK :: aa ORD aa
SFO
Can I define multiple options for connecting cities in one query?
For ex, right now I have to do this as two different queries:
JFK :: aa DFW aa
SFO
JFK :: aa ORD aa
SFO
Can I define multiple options for connecting cities in one query?