[ Whereis® API Home ] [ JSON API Home ] [ Object Index ] [ Data Types ]
Identifies a map location by reference to its longitude and latitude. EMS expects and returns longitude and latitude coordinates in standard WGS84 format.
<waypoint>
A <waypoint> is a special point type, used for routing. Because routes are typically by car, a point used as a waypoint must always identify a street to route from.
Waypoints may be defined either as <streetPoint> objects - that is, points already known to lie on a street that can be used for routing purposes without the system making any additional checks - or as <street> and <centrePoint> pairs.
Format
{
"lon":<double>,
"lat":<double>
}
Parameters
Name | Mandatory? | Description |
lon | Y | Min: 96, max: 174 |
lat | Y | Min: -50, max: -3 |
Examples
{
"lon":144.962832,
"lat":-37.813389
}
an
"streetPoint":
{
"lon":144.962832,
"lat":-37.813389
}
or
"centrePoint":
{
"lon": 144.9583,
"lat": -37.81562
},
"street":
{
"name": "Lonsdale",
"type": "St"
}
To fall within the bounds of Australia, a point must have a longitude of 96 to 174, and latitude of -50 to -3.