api.automapa.comv3 - all systems normal

Speed limit at point

Road.speedCheck

Returns the car and truck speed limits at the given GPS point (Poland and Europe).

POST/v3/Road/speedCheckapi.automapa.com

Body parameters

BodyTypeDescription
xdouble REQUIREDGPS x.
ydouble REQUIREDGPS y.
dirintegerHeading 0–359 (or -1).
distLimitintegerSnap radius (default 50 m).

Example request

{
    "x": 15.2154636,
    "y": 52.3118895,
    "dir": 350
}

Example response

{
    "result": {
        "speedLimit": 140,
        "speedLimitTruck": 80,
        "urbanArea": false,
        "x": 15.2154624,
        "y": 52.31186,
        "distance": 1
    }
}

result fields

result fieldsTypeDescription
speedLimitintegerCar speed limit; -1 no data, 0 unrestricted.
speedLimitTruckintegerTruck speed limit; -1 no data, 0 unrestricted.
urbanAreaboolInside built-up area.
xdoubleSnapped GPS x.
ydoubleSnapped GPS y.
distanceintegerDistance from input point to snapped (m).