You are viewing information on version v1 of the Winnipeg Transit Open Data Web Service API. This version has been deprecated.

API (v1)

Overview (deprecated)

Services

Other versions

  • v3 Overview
  • v2 Overview (supported)
  • Locations API

    A location can be an address, a monument, or an intersection.

    Valid URL Parameters

    x The UTM X coordinate of the point to find locations near. Use in conjunction with 'y' and 'distance'.
    y The UTM Y coordinate of the point to find locations near. Use in conjunction with 'x' and 'distance'.
    lat The latitude of the point to find locations near. Use in conjunction with 'lon' and 'distance'.
    lon The longitude of the point to find locations near. Use in conjunction with 'lat' and 'distance'.
    distance The distance in metres from the given point which returned locations must fall within. (default: 100)
    max-results The number of locations to return -- closer locations will be prioritized. (default: 5)

    Examples

    Login to see sample results.

    Identity

    • locations/1234

    Filter

    • locations?distance=50&x=633861&y=5525798
    • locations?distance=50&x=633861&y=5525798&max-results=1
    • locations?lat=49.895&lon=-97.138
    • locations
    • locations?x=633861&lon=-97.1372

    Wildcard

    • locations:zoo
    • locations:budden
    • locations:414+osb
    • locations:

    Explore the API

    Login to explore the Locations API.

    Noteworthy Results

    address A location identified by a numerical position on a street.
    address/key A unique numerical identifier for the address.
    address/street-number The numerical position of the address on its street.
    address/street The street which the address is found on. See the Streets service for more details.
    address/centre A geographical point describing the centre of the address. Both UTM and geographic coordinate systems are provided.
    intersection A location identified by the point where one street meets another.
    intersection/key A unique identifier for the intersection. The format for this key is {intersection key}:{street key}@{cross-street key}.
    intersection/(street|cross-street) The two streets whose convergence defines the intersection. See the Streets service for more details.
    intersection/centre A geographical point describing the centre of the intersection. Both UTM and geographic coordinate systems are provided.
    monument A location identified with by a proper noun name. Monuments contain an address.
    monument/key A unique numerical identifier for the monument.
    monument/name The monument's name. See the usage parameter for formatting options.
    monument/categories A monument can belong to many monument categories.
    monument/address The address which the monument is found at.