TRIP REQUEST2

From OpenTFL

Jump to: navigation, search

Contents

Usage

Routes a trip if sufficient information is provided. Otherwise, the XSLT will return a form to gather more information.

These usages are apparently supported: http://www.efa.de/gvh/eigene.html

Parameters

Common

execInst normal
command
  • changeRequest
  • tripRetoure
  • tripGoOn
  • nop


Waypoints

Replace loc with each of the following waypoints:

  • origin
  • destination
  • via (optional, only one allowed)
type_loc Type of location:
  • stop
  • poi
  • poiID
  • coord
  • address
  • locator
name_loc Name/value of location
place_loc Area to search for location
nameDefaultText_loc Probably only used for scripting
placeDefaultText_loc Probably only used for scripting
nameState_loc Probably only used for scripting

Date/time

itdTripDateTimeDepArr
  • dep
  • arr
itdDateDay
itdDateMonth
itdDateYear
itdDateYearMonth
itdTimeMinute
itdTimeHour

Route

routeType
  • LEASTTIME
  • LEASTINTERCHANGE
  • LEASTWALKING
inclMOT_mot See Methods of transport
cycleType
  • 101 cycle to the station/stop
  • 102 take cycle on public transport
  • 107 cycle-only route
calcNumberOfTrips Number of itineraries to include; appears to be unreliable

Public transport options

ptOptionsActive
  • 1
  • 0 (enable public transport routing)
ptAdvancedOptions
  • 1
  • 0

Independent transport options

itOptionsActive

Enable independent transport routing

  • 1
  • 0
trITMOT 100
trITMOTvalue 20
trITMOTvalue101 60

Accessibility transport options

imparedOptionsActive

Enable accessibility requirements - NB misspelling

  • 1
  • 0
noSolidStairs
noEscalators
noElevators
wheelchair

Advanced options

advOptActive_2
  • 1
  • 0
advOpt_2
  • 1
  • 0

Other

includedMeans checkbox
calculateDistance
  • 1
  • 0
imageFormat
  • png
  • pdf
imageOnly
  • 1
  • 0
imageWidth 705
imageHeight 500
calculateCO2
  • 1
  • 0
useProxFootSearch Prefer to walk
changeSpeed
  • normal
  • fast
  • slow
tripSelection
tripSelector1

Layout

itdLPxx_view detail
itdLPxx_request
itdLPxx_tubeMap

XML output

Examples

From Buckingham Palace to 10 Downing St via Barnby St delivery office (strangely, there are issues with NW11AA as a via point)


Possibly old params


A form with lots of params

Personal tools