Speed limit for many points
Road.speedCheckMulti
Batch version of speedCheck — accepts up to 100 points. Response order matches request.
Body parameters
| Body | Type | Description |
|---|---|---|
points | object[] REQUIRED | Array of { x, y, dir?, distLimit? }. |
Example request
{
"points": [
{
"x": 15.2154636,
"y": 52.3118895,
"dir": 350
},
{
"x": 13.8412285,
"y": 52.3111549
}
]
}Example response
{
"result": [
{
"speedLimit": 140,
"speedLimitTruck": 80,
"urbanArea": false,
"x": 15.2154624,
"y": 52.31186,
"distance": 1
},
{
"speedLimit": 0,
"speedLimitTruck": -1,
"urbanArea": false,
"x": 13.8412231,
"y": 52.31114,
"distance": 1
}
]
}result fields
| result fields | Type | Description |
|---|---|---|
speedLimit | integer | Car limit at point. |
speedLimitTruck | integer | Truck limit at point. |
urbanArea | bool | Inside built-up area. |
x | double | Snapped GPS x. |
y | double | Snapped GPS y. |
distance | integer | Snap distance (m). |