Bmc feat-ui
Search
Map
OTP
OTP2
BMC Planner
BMC Planner v2
GTFS
GTFS RT
Routing comparator
Form Demo
Debug routes
Home
>
OTP1
{ }
{ "ok": false, "data": {} }
Close
fromPlace:
ⓘ
fromPlace:
ⓘ
The start location -- longitude,latitude pair in degrees. For example, `4.714476,51.005966`.
✵
Type something ☝️
Selected location:
unnamed location
Click on the map to select a location
Discard
Confirm this location
toPlace:
ⓘ
toPlace:
ⓘ
The end location (see fromPlace for format).
✵
Type something ☝️
Selected location:
unnamed location
Click on the map to select a location
Discard
Confirm this location
date:
ⓘ
date:
ⓘ
The date that the trip should depart (or arrive, for requests where arriveBy is on). Format: `YYYY-MM-DD`.
⚠
date
:
time:
ⓘ
time:
ⓘ
The time that the trip should depart (or arrive, for requests where arriveBy is on). The time is expected to be the wall clock time in the timezone Europe/Brussels Format: `HH:MM
⚠
time
:
arriveBy
ⓘ
arriveBy:
ⓘ
Whether the trip should depart or arrive at the specified date and time.
off
⚠
arriveBy
:
View extra params
showIntermediateStops
ⓘ
showIntermediateStops:
ⓘ
Whether intermediate stops -- those that the itinerary passes in a vehicle, but does not board or alight at -- should be returned in the response. For example, on a Q train trip from Prospect Park to DeKalb Avenue, whether 7th Avenue and Atlantic Avenue should be included.
off
⚠
showIntermediateStops
:
bannedAgencies
ⓘ
bannedAgencies:
ⓘ
String. Enum. Multiple. List of banned agencies.
tec
nmbssncb
delijn
stibmivb
⚠
bannedAgencies
:
mode
ⓘ
mode:
ⓘ
The set of modes that a user is willing to use, with qualifiers stating whether vehicles should be parked, rented, etc. Acceptable values are: WALK, TRANSIT, BICYCLE, BICYCLE_RENT, BICYCLE_PARK, CAR, CAR_PARK, TRAM, SUBWAY, RAIL, BUS
WALK
TRANSIT
BICYCLE
BICYCLE RENT
BICYCLE PARK
CAR
CAR PARK
TRAM
SUBWAY
RAIL
BUS
⚠
mode
:
walkSpeed
ⓘ
walkSpeed:
ⓘ
Float. The user's walking speed in meters/second. Defaults to approximately (1.33 meters/second). This value is used as a "user max walk speed baseline" to calculate the walking time, but some conditions (e.g. hills, stairs, lifts, underground station access, street crossings, etc.) may increase the overall walking time.
0.1
10
⚠
walkSpeed
:
numItineraries:
ⓘ
numItineraries:
ⓘ
The maximum number of possible itineraries to return.
⚠
numItineraries
:
maxWalkDistance:
⚠
maxWalkDistance
:
View all params
alightSlack:
ⓘ
alightSlack:
ⓘ
alightSlack. integer. TODO: Add description
⚠
alightSlack
:
bannedRoutes:
ⓘ
bannedRoutes:
ⓘ
List of banned routes.
⚠
bannedRoutes
:
bannedStops:
ⓘ
bannedStops:
ⓘ
List of banned stops. A stop is banned by ignoring its pre-board and pre-alight edges. This means the stop will be reachable via the street network. Also, it is still possible to travel through the stop. Just boarding and alighting is prohibited. The format is agencyId_stopId, so: TriMet_2107
⚠
bannedStops
:
bannedStopsHard:
ⓘ
bannedStopsHard:
ⓘ
List of banned stops. A stop is banned by ignoring its pre-board and pre-alight edges. This means the stop will be reachable via the street network. It is not possible to travel through the stop. For example, this parameter can be used when a train station is destroyed, such that no trains can drive through the station anymore. The format is agencyId_stopId, so: TriMet_2107
⚠
bannedStopsHard
:
bannedTrips:
ⓘ
bannedTrips:
ⓘ
List of banned trips. The format is agency_trip[:stop*], so: TriMet_24601 or TriMet_24601:0:1:2:17:18:19
⚠
bannedTrips
:
batch
ⓘ
batch:
ⓘ
If true, goal direction is turned off and a full path tree is built (specify only once).
off
⚠
batch
:
bikeBoardCost:
ⓘ
bikeBoardCost:
ⓘ
Integer. Prevents unnecessary transfers by adding a cost for boarding a vehicle. This is the cost that is used when boarding while cycling. This is usually higher that walkBoardCost.
⚠
bikeBoardCost
:
bikeSpeed:
ⓘ
bikeSpeed:
ⓘ
Float. The user's biking speed in meters/second. Defaults to approximately 11 MPH, or 9.5 for bikeshare.
⚠
bikeSpeed
:
bikeSwitchCost:
ⓘ
bikeSwitchCost:
ⓘ
integer. The cost of the user fetching their bike and parking it again. Defaults to 0.
⚠
bikeSwitchCost
:
boardSlack:
ⓘ
boardSlack:
ⓘ
boardSlack. integer. TODO: Add description
⚠
boardSlack
:
disableAlertFiltering
ⓘ
disableAlertFiltering:
ⓘ
TODO : add description
off
⚠
disableAlertFiltering
:
disableRemainingWeightHeuristic
ⓘ
disableRemainingWeightHeuristic:
ⓘ
If true, the remaining weight heuristic is disabled. Currently only implemented for the long distance path service.
off
⚠
disableRemainingWeightHeuristic
:
geoidElevation
ⓘ
geoidElevation:
ⓘ
If true, the Graph's ellipsoidToGeoidDifference is applied to all elevations returned by this query.
off
⚠
geoidElevation
:
ignoreRealtimeUpdates
ⓘ
ignoreRealtimeUpdates:
ⓘ
If true, realtime updates are ignored during this search.
off
⚠
ignoreRealtimeUpdates
:
intermediatePlaces:
ⓘ
intermediatePlaces:
ⓘ
An ordered list of intermediate locations to be visited (see the fromPlace for format). Parameter can be specified multiple times.
⚠
intermediatePlaces
:
locale:
ⓘ
locale:
ⓘ
The locale to use for the response data translations. Defaults to `en`.
⚠
locale
:
maxHours:
ⓘ
maxHours:
ⓘ
Float. TODO add description
⚠
maxHours
:
maxPreTransitTime:
ⓘ
maxPreTransitTime:
ⓘ
Integer. Seconds. The maximum time (in seconds) of pre-transit travel when using drive-to-transit (park and ride or kiss and ride). Defaults to unlimited.
⚠
maxPreTransitTime
:
maxTransfers:
ⓘ
maxTransfers:
ⓘ
integer. The maximum number of transfers (that is, one plus the maximum number of boardings) that a trip will be allowed. Larger values will slow performance, but could give better routes. This is limited on the server side by the MAX_TRANSFERS value in org.opentripplanner.api.ws.Planner.
⚠
maxTransfers
:
optimize
ⓘ
optimize:
ⓘ
String. One of Enum. The set of characteristics that the user wants to optimize for. @See OptimizeType. Accetptable values are: FLAT, GREENWAYS, QUICK, SAFE, TRANSFERS, TRIANGLE
FLAT
GREENWAYS
QUICK
SAFE
TRANSFERS
TRIANGLE
⚠
optimize
:
otherThanPreferredRoutesPenalty:
ⓘ
otherThanPreferredRoutesPenalty:
ⓘ
Integer. Seconds. Penalty added for using every route that is not preferred if user set any route as preferred, i.e. number of seconds that we are willing to wait for preferred route.
⚠
otherThanPreferredRoutesPenalty
:
preferredAgencies:
ⓘ
preferredAgencies:
ⓘ
List of preferred agencies.
⚠
preferredAgencies
:
preferredRoutes:
ⓘ
preferredRoutes:
ⓘ
List of preferred routes.
⚠
preferredRoutes
:
reverseOptimizeOnTheFly
ⓘ
reverseOptimizeOnTheFly:
ⓘ
If true, this trip will be reverse-optimized on the fly. Otherwise, reverse-optimization will occur once a trip has been chosen (in Analyst, it will not be done at all).
off
⚠
reverseOptimizeOnTheFly
:
startTransitStopId:
ⓘ
startTransitStopId:
ⓘ
A transit stop required to be the first stop in the search (AgencyId_StopId)
⚠
startTransitStopId
:
startTransitTripId:
ⓘ
startTransitTripId:
ⓘ
A transit trip acting as a starting "state" for depart-onboard routing (AgencyId_TripId)
⚠
startTransitTripId
:
transferPenalty:
ⓘ
transferPenalty:
ⓘ
Integer. An additional penalty added to boardings after the first. The value is in OTP's internal weight units, which are roughly equivalent to seconds. Set this to a high value to discourage transfers. Of course, transfers that save significant time or walking will still be taken.
⚠
transferPenalty
:
triangleSafetyFactor:
ⓘ
triangleSafetyFactor:
ⓘ
Float. For bike triangle routing, how much safety matters (range 0-1).
⚠
triangleSafetyFactor
:
triangleSlopeFactor:
ⓘ
triangleSlopeFactor:
ⓘ
Float. For bike triangle routing, how much slope matters (range 0-1).
⚠
triangleSlopeFactor
:
triangleTimeFactor:
ⓘ
triangleTimeFactor:
ⓘ
Float. For bike triangle routing, how much time matters (range 0-1).
⚠
triangleTimeFactor
:
unpreferredAgencies:
ⓘ
unpreferredAgencies:
ⓘ
List of unpreferred agencies.
⚠
unpreferredAgencies
:
unpreferredRoutes:
ⓘ
unpreferredRoutes:
ⓘ
List of unpreferred routes.
⚠
unpreferredRoutes
:
useRequestedDateTimeInMaxHours
ⓘ
useRequestedDateTimeInMaxHours:
ⓘ
TODO : add description
off
⚠
useRequestedDateTimeInMaxHours
:
waitAtBeginningFactor:
ⓘ
waitAtBeginningFactor:
ⓘ
Float. How much less bad is waiting at the beginning of the trip (replaces waitReluctance)
⚠
waitAtBeginningFactor
:
waitReluctance:
ⓘ
waitReluctance:
ⓘ
Float. How much worse is waiting for a transit vehicle than being on a transit vehicle, as a multiplier. The default value treats wait and on-vehicle time as the same. It may be tempting to set this higher than walkReluctance (as studies often find this kind of preferences among riders) but the planner will take this literally and walk down a transit line to avoid waiting at a stop. This used to be set less than 1 (0.95) which would make waiting offboard preferable to waiting onboard in an interlined trip. That is also undesirable. If we only tried the shortest possible transfer at each stop to neighboring stop patterns, this problem could disappear.
⚠
waitReluctance
:
walkBoardCost:
ⓘ
walkBoardCost:
ⓘ
Prevents unnecessary transfers by adding a cost for boarding a vehicle. This is the cost that is used when boarding while walking.
⚠
walkBoardCost
:
walkReluctance:
ⓘ
walkReluctance:
ⓘ
Float. A multiplier for how bad walking is, compared to being in transit for equal lengths of time. Defaults to 2. Empirically, values between 10 and 20 seem to correspond well to the concept of not wanting to walk too much without asking for totally ridiculous itineraries, but this observation should in no way be taken as scientific or definitive. Your mileage may vary.
⚠
walkReluctance
:
wheelchair
ⓘ
wheelchair:
ⓘ
Whether the trip must be wheelchair accessible.
off
⚠
wheelchair
:
To start, pick an origin an destination in the form.
Like
Liège -> Namur