map

Given an area frame (box defined by the top-right and bottom-left corners), it returns all routes and their respective shapes that operate within this area. Routes 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 on
get/api/experimental/map/routes

Request

  • Base URL
    https://api.transitous.org
  • URL
    https://api.transitous.org/api/experimental/map/routes
  • Auth
    none declared

Query parameters

zoomnumber required

current zoom level

minstring required

latitude,longitude pair of the lower right coordinate

maxstring required

latitude,longitude pair of the upper left coordinate

languagestring[]

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 routes in the area

zoomFilteredboolean required

Indicates whether some routes were filtered out due to the zoom level.

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • warning

      added the new HGV enum value to the // response property for the response status

    • warning

      added the new HGV enum value to the /// response property for the response status