SHARE
TWEET

route-mesh-schema-proposal

a guest Nov 19th, 2019 71 in 7 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.   "impediments": [
  3.     {
  4.       "id": 1,
  5.       "roadId": 10203044,
  6.       "name": "Most w Siedlinie"
  7.       "city" : "Siedlin",
  8.       "location": {
  9.         "latitude" : 52.605785,
  10.         "longitude" : 20.399950,
  11.         "km" : 120.4
  12.       },
  13.       "static" : true,
  14.       "url" : "https://xyz.com",
  15.       "comment": "Bardzo fajny most, polecam",
  16.       "limitions" : {
  17.           "dimentional": [     // list, because obj might obstruct few dimentions at once
  18.             {
  19.               "class": "WIDTH",
  20.               "value": 123.123, // as max value?
  21.               "unit": "mm" // cm, m, km
  22.             },
  23.             {
  24.               "class": "HEIGHT"
  25.               "value": 456.456, // as max value?
  26.               "unit": "mm" // cm, m, km
  27.             },
  28.             {
  29.               "class": "WEIGHT",
  30.               "value": 789.789, // as max value?
  31.               "unit": "g" // kg, t...
  32.             }
  33.           ],
  34.           "curved": []
  35.       }
  36.     },
  37.     {
  38.       "id": 2,
  39.       "roadId": 10203044,
  40.       "name": "Rondo Igora"
  41.       "city" : "Dobrzejewice",
  42.       "location": {
  43.         "latitude" : 52.605785,
  44.         "longitude" : 20.399950,
  45.         "km" : 120.4
  46.       },
  47.       "static" : true,
  48.       "url" : "https://xyz.com",
  49.       "comment": null,
  50.       "limitions" : {
  51.           "dimentional": [], // empty
  52.           "curved": [
  53.             {
  54.                 "class" : "ROUNDABOUT", // may be reduntant if only there is no other curved impediment classes?
  55.                 "radiusMin" : 9300.0,
  56.                 "radiusMax" : 19040.0,
  57.                 "unit": "mm" // cm, m, km...
  58.             }
  59.           ]
  60.       }
  61.     }
  62.   ]
  63. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top