Here's how to generate a compliant navigation route with the Lorry Route API.
POST /api/api_keys/generate_routes
Generate route from a latitude and longitude input.
{
"arrival" : {
"lat" : 0.7613469782703781,
"lon" : 0.683180222799447
},
"departure" : {
"lat" : 0.41772826964567955,
"lon" : 0.04438711171760036
},
"dimensions" : {
"height" : 0.8951580166483727,
"length" : 0.6008955498849374,
"weight" : 0.2875118378969445,
"width" : 0.7620272627172439
},
"geometries" : "Maxime possimus aliquid quidem consequuntur.",
"time_end" : "2002-07-12T05:18:07Z",
"time_start" : "1989-05-02T08:17:29Z"
}
{
"data" : {
"Incidunt dolores iusto debitis temporibus tempore modi." : 0.2519597674097817
}
}
POST /api/poi
Get restrictions for a navigational point.
"Type" can be 30/40/50/60 for weight/height/length/width
{
"lat" : 0.136389235187398,
"lon" : 0.808590706680539,
"type" : [ 40 ]
}
{
"restrictions" : [ {
"info" : "Quo qui et sit quia voluptatem.",
"lat" : 0.5218268582456355,
"lon" : 0.7363087008278921,
"maximum" : 0.07118492206591481,
"postcode" : "Minima voluptates sunt voluptatem ipsa.",
"street" : "Eligendi eos atque maxime et.",
"type" : 6382176316730312000
}, {
"info" : "Quo qui et sit quia voluptatem.",
"lat" : 0.5218268582456355,
"lon" : 0.7363087008278921,
"maximum" : 0.07118492206591481,
"postcode" : "Minima voluptates sunt voluptatem ipsa.",
"street" : "Eligendi eos atque maxime et.",
"type" : 6382176316730312000
}] }