GET HOT / HOV

Returns all HOT/HOV lanes.

Request Information

https://511on.ca/api/v2/get/hovlanes

URI Parameters

NameDescriptionTypeAdditional information
format

Valid values are 'xml' or 'json', default 'json'.

string

Optional

lang

Valid values are 'en' or 'fr', default 'en'.

string

Optional

Response Information

Resource Description


NameDescriptionType
Id

A unique identifier.

integer
Latitude

The latitude describing the location. Format: double between -90 and 90.

double
Longitude

The longitude describing the location. Format: double between -180 and 180.

double
EncodedPolyline

A single string storing a series of coordinates. More information

string
Name

The name of the HOT/HOV lane.

string

Response Formats

JSON

Sample:
[
  {
    "Id":51,
    "Latitude":43.81228,
    "Longitude":-79.350399,
    "EncodedPolyline":"}gtjG`pmcNrBUda@uGrW}Ehb@_Kzt@_Uv_@gMnb@uMjDoAzCaBfCkB|DiEnCiE~AkD`BsEhJg[bAwCtAsChAgBzCyCpCcBfC}@hRmCx^qEbs@{J|c@gF|`@{FzJeA|R_BhUsC",
    "Name":"Hwy 404 Southbound HOV"
  },
  {
    "Id":2336,
    "Latitude":43.61132,
    "Longitude":-79.63342,
    "EncodedPolyline":"y}hiG~}ceNfi@gw@lN_T~AgCdGaLvCsEhFgHp@m@xDuC`CmAdF}A~Dg@hEAtEf@zBn@nDdBbCdBrDrDlnEv{EbHlGxh@nb@~JnI`FzE`I|I~DdFpC`EvFbJ|b@vx@bEhH~ErHpCzDpP`Thi@pp@xUp[zLrN|GhH",
    "Name":"Hwy 403 Westbound HOV"
  }
]

XML

Sample:
<HovLanesList>
  <HovLanes>
    <Id>51</Id>
    <Latitude>43.81228</Latitude>
    <Longitude>-79.350399</Longitude>
    <EncodedPolyline>
      }gtjG`pmcNrBUda@uGrW}Ehb@_Kzt@_Uv_@gMnb@uMjDoAzCaBfCkB|DiEnCiE~AkD`BsEhJg[bAwCtAsChAgBzCyCpCcBfC}@hRmCx^qEbs@{J|c@gF|`@{FzJeA|R_BhUsC
    </EncodedPolyline>
    <Name>Hwy 404 Southbound HOV</Name>
  </HovLanes>
  <HovLanes>
    <Id>2336</Id>
    <Latitude>43.61132</Latitude>
    <Longitude>-79.63342</Longitude>
    <EncodedPolyline>
      y}hiG~}ceNfi@gw@lN_T~AgCdGaLvCsEhFgHp@m@xDuC`CmAdF}A~Dg@hEAtEf@zBn@nDdBbCdBrDrDlnEv{EbHlGxh@nb@~JnI`FzE`I|I~DdFpC`EvFbJ|b@vx@bEhH~ErHpCzDpP`Thi@pp@xUp[zLrN|GhH
    </EncodedPolyline>
    <Name>Hwy 403 Westbound HOV</Name>
  </HovLanes>
</HovLanesList>