TransitPreferencesInput Input Object
Transit routing preferences used for transit legs.
Fields
#
board
Preferences related to boarding a transit vehicle. Note, board costs for each street mode can be found under the street mode preferences.
filters
A list of filters for which trips should be included or excluded. A trip will be considered in the result if it is included by at least one filter and isn't excluded by another one at the same time.
An empty list of filters or no value means that all trips should be included.
AND/OR Logic
Several filters can be defined and form an OR-condition.
The following example means "include all trips with F:route1
or F:agency1
":
The following example means "include all trips of F:agency1
and exclude F:route1
":
Be aware that AND-conditions can lead to zero results.
Note: This parameter also interacts with the modes set in modes.transit
by forming
an AND-condition.
transfer
Preferences related to transfers between transit vehicles (typically between stops).
TransitModePreferenceCostInput
TranslatedString