api.automapa.comv3 - all systems normal

Speed limit for many points

Road.speedCheckMulti

Batch version of speedCheck — accepts up to 100 points. Response order matches request.

POST/v3/Road/speedCheckMultiapi.automapa.com

Body parameters

BodyTypeDescription
pointsobject[] REQUIREDArray 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 fieldsTypeDescription
speedLimitintegerCar limit at point.
speedLimitTruckintegerTruck limit at point.
urbanAreaboolInside built-up area.
xdoubleSnapped GPS x.
ydoubleSnapped GPS y.
distanceintegerSnap distance (m).