Given a area frame (box defined by top right and bottom left corner) and a time frame, it returns all trips and their respective shapes that operate in this area + time frame. Trips are filtered by zoom level. On low zoom levels, only long distance trains will be shown while on high zoom levels, also metros, buses and trams will be returned.
Changed onRequest
- Base URLhttps://api.transitous.org
- URLhttps://api.transitous.org/api/v6/map/trips
- Authnone declared
Query parameters
current zoom level
latitude,longitude pair of the lower right coordinate
latitude,longitude pair of the upper left coordinate
start of the time window
end if the time window
precision of returned polylines. Recommended to set based on zoom: zoom >= 11 ? 5 : zoom >= 8 ? 4 : zoom >= 5 ? 3 : 2
language tags as used in OpenStreetMap / GTFS (usually BCP-47 / ISO 639-1, or ISO 639-2 if there's no ISO 639-1)
Response
a list of trips
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- warning
added the new
HGVenum value to the///response property for the response status - warning
added the new
HGVenum value to the/response property for the response status - warning
added the new
HGVenum value to the///response property for the response status
- warning