GET HOT / HOV

Returns all HOT/HOV lanes.

Request Information

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

URI Parameters

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


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
Roadway

The name of the highway of the HOT/HOV lane.

string
Region

The name of the region of HOT/HOV lane.

string

Response Formats

JSON

Sample:
[  
   {  
      "Id":149499285,
      "Latitude":43.57767,
      "Longitude":-79.66878,
      "EncodedPolyline":"i_vhGn}peN_JgJaNcPubAwnAeRiVcDaF_FkIw[am@mIaOmGyJkJ}LwGcHiDcDoJaIqf@o`@gEqDuGoGaoEk|EiDiCaB}@sDwA{A]_E[mBAqDPwDv@{C`AwBjA_EnCgBzAgEzEaEvF}DjG??om@`}@kNpR",
      "Name":"Eastbound HOV",
      "Roadway":"Highway 403",
      "Region":"Central"
   },
   {  
      "Id":856353682,
      "Latitude":45.32857,
      "Longitude":-75.8654,
      "EncodedPolyline":"messGz}bnM`Rxm@qPij@sa@srAiE}NsOsf@od@w}A",
      "Name":"Eastbound HOV",
      "Roadway":"Highway 417",
      "Region":"Central"
   }
]

XML

Sample:
<HovLanesList>
	<HovLanes>
		<Id>149499285</Id>
		<Latitude>43.57767</Latitude>
		<Longitude>-79.66878</Longitude>
		<EncodedPolyline>i_vhGn}peN_JgJaNcPubAwnAeRiVcDaF_FkIw[am@mIaOmGyJkJ}LwGcHiDcDoJaIqf@o`@gEqDuGoGaoEk|EiDiCaB}@sDwA{A]_E[mBAqDPwDv@{C`AwBjA_EnCgBzAgEzEaEvF}DjG??om@`}@kNpR</EncodedPolyline>
		<Name>Eastbound HOV</Name>
		<Roadway>Highway 403</Roadway>
		<Region>Central</Region>
	</HovLanes>
	<HovLanes>
		<Id>856353682</Id>
		<Latitude>45.32857</Latitude>
		<Longitude>-75.8654</Longitude>
		<EncodedPolyline>messGz}bnM`Rxm@qPij@sa@srAiE}NsOsf@od@w}A</EncodedPolyline>
		<Name>Eastbound HOV</Name>
		<Roadway>Highway 417</Roadway>
		<Region>Central</Region>
	</HovLanes>
</HovLanesList>