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
#76
Join Date: Feb 2010
Location: NYC
Programs: AA ex-Plat
Posts: 425
just a note, i'm having an issue getting matrix 2 to display/work using IE9beta, even in compatibility mode.
i can get the original version to work logging in as a guest.
since it's a beta, i expected some stuff to not work properly, but thought i'd mention it here if others are having a similar issue.
i can get the original version to work logging in as a guest.
since it's a beta, i expected some stuff to not work properly, but thought i'd mention it here if others are having a similar issue.
#77
Join Date: Apr 2010
Location: IND
Programs: 2FlyOrNot2Fly– that is the question: United Mileage Plus 1P
Posts: 29
just a note, i'm having an issue getting matrix 2 to display/work using IE9beta, even in compatibility mode.
i can get the original version to work logging in as a guest.
since it's a beta, i expected some stuff to not work properly, but thought i'd mention it here if others are having a similar issue.
i can get the original version to work logging in as a guest.
since it's a beta, i expected some stuff to not work properly, but thought i'd mention it here if others are having a similar issue.
#80
Join Date: Aug 2007
Location: Near SEA
Programs: UA MM, AS MVPG75K, Marriott Lifetime Gold
Posts: 7,969
Code:
SLC :: O:DL+ ~MEM,ATL CLT :: O:DL+ ~MEM,ATL
Last edited by bmvaughn; Jan 9, 2011 at 4:48 pm Reason: code block to avoid smilies
#81
Join Date: May 2007
Location: ORD, DEL
Programs: AA (Plt Pro; 1.5 MM)
Posts: 6,185
Code:
SLC:: DL ~ATL,MEM DL CLT:: DL ~ATL,MEM DL
Code:
SLC:: N:DL ~ATL,MEM N:DL CLT:: N:DL ~ATL,MEM N:DL
Last edited by aktchi; Jan 30, 2011 at 10:13 pm
#82
Join Date: May 2007
Location: ORD, DEL
Programs: AA (Plt Pro; 1.5 MM)
Posts: 6,185
There is always room for surprises.
So it turns out that in the routing syntax just "AA" refers to a direct flight, but not necessarily a nonstop one. It does not seem unreasonable when you think about it, except that I never thought about it. To force nonstop, we'd say N:AA, N:AA+ etc.
If you want to avoid a city, say STL, my reliable "AA ~STL AA" is not the best syntax, because either AA could be a direct flight with a stop in STL. So from now on, the syntax for avoiding cities is "N:AA+ / -cities ORD STL". (See http://www.flyertalk.com/forum/15759732-post4.html.)
So it turns out that in the routing syntax just "AA" refers to a direct flight, but not necessarily a nonstop one. It does not seem unreasonable when you think about it, except that I never thought about it. To force nonstop, we'd say N:AA, N:AA+ etc.
If you want to avoid a city, say STL, my reliable "AA ~STL AA" is not the best syntax, because either AA could be a direct flight with a stop in STL. So from now on, the syntax for avoiding cities is "N:AA+ / -cities ORD STL". (See http://www.flyertalk.com/forum/15759732-post4.html.)
Last edited by aktchi; Jan 30, 2011 at 10:12 pm
#84
Original Poster
Join Date: Aug 2002
Location: Seattle
Programs: UA 1P MM
Posts: 730
#86
Join Date: Feb 2008
Location: SFO/SJC
Programs: UA 1K, NW forever
Posts: 1,390
#87
Join Date: Nov 2008
Location: Scottsdale, AZ
Programs: USAirways CP
Posts: 712
Sorry if this is posted here somewhere, I tried looking but I'm doing the following.
So I want to only look for flights on US Airways that leave Phoenix and go to any of the above airports. What I don't know how to do is to restrict the search such that the return flight is from the same airport as I arrive to.
The search above returns flights such as PHX-LHR and return via MAD-PHX which I prefer not to do (something like PHX-AMS and BRU-PHX would be ok but I don't want to make this too complicated).
Is there a way to ensure that the arrival and departing flights are from the same airport?
Thanks
Code:
phx :: US+ lhr;muc;bru;ams;mad;dub;zrh :: US+
The search above returns flights such as PHX-LHR and return via MAD-PHX which I prefer not to do (something like PHX-AMS and BRU-PHX would be ok but I don't want to make this too complicated).
Is there a way to ensure that the arrival and departing flights are from the same airport?
Thanks
#88
Original Poster
Join Date: Aug 2002
Location: Seattle
Programs: UA 1P MM
Posts: 730
#89
Join Date: Mar 2008
Posts: 439
Code:
phx :: US+ / -change lhr;muc;bru;ams;mad;dub;zrh :: US+ / -change
Covered in the wiki: http://flyerguide.com/wiki/index.php...SURFACE_TRAVEL
#90
Join Date: Nov 2008
Location: Scottsdale, AZ
Programs: USAirways CP
Posts: 712
Or use the -change switch, as in:
(I think in this case you'd really only need it on the TO and not the FROM since that's where you list multiple airports.)
Covered in the wiki: http://flyerguide.com/wiki/index.php...SURFACE_TRAVEL
Code:
phx :: US+ / -change lhr;muc;bru;ams;mad;dub;zrh :: US+ / -change
Covered in the wiki: http://flyerguide.com/wiki/index.php...SURFACE_TRAVEL