GET Roundabouts

Returns all roundabouts.

Request Information

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

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
Name

Name of roundabout.

string
Type

Type of roundabout.

string
Location

Location of roundabout.

string
Region

Region of roundabout.

string
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

Response Formats

JSON

Sample:
[
	{
		"Name": "Mattawa",
		"Type": "Single-lane",
		"Location": "Hwy 17 and Hwy 533",
		"Region": "Northeastern",
		"Latitude": 46.317359,
		"Longitude": -78.702211
	},
	{
		"Name": "Welland",
		"Type": "Multi-lane",
		"Location": "Hwy 406 at East Main St",
		"Region": "Central",
		"Latitude": 42.993509,
		"Longitude": -79.223005
	}
]

XML

Sample:
<RoundaboutsList>
    <Roundabouts>
        <Name>Mattawa</Name>
        <Type>Single-lane</Type>
        <Location>Hwy 17 and Hwy 533</Location>
        <Region>Northeastern</Region>
        <Latitude>46.317359</Latitude>
        <Longitude>-78.702211</Longitude>
    </Roundabouts>
    <Roundabouts>
        <Name>Welland</Name>
        <Type>Multi-lane</Type>
        <Location>Hwy 406 at East Main St</Location>
        <Region>Central</Region>
        <Latitude>42.993509</Latitude>
        <Longitude>-79.223005</Longitude>
    </Roundabouts>
</RoundaboutsList>