Slide 71
Slide 71 text
Amazon Location Service (Route calculators )
経路計算(コマンドライン)
aws location calculate-route --calculator-name WorkshopRoutes --departure-position
"[139.76721144700002, 35.68118461600005]" --destination-position "[139.70060678900006,
35.690189528000076]"
{
"Legs": [
{
"Distance": 9.78718539102932,
"DurationSeconds": 1175.9156592709999,
"EndPosition": [
139.70117425999607,
35.690335447374736
],
"StartPosition": [
139.76882054392777,
35.68088807084364
],
"Steps": [
{
"Distance": 0.05327042812296544,
"DurationSeconds": 10.53706601,
"EndPosition": [
139.769291108171,
35.680960992647464
],
"StartPosition": [
139.7688205425394,
35.68088803219476
]
},
...
{
"Distance": 0.06730043043565104,
"DurationSeconds": 13.31205732,
"EndPosition": [
139.70117428846197,
35.69033545327732
],
"StartPosition": [
139.70146911123229,
35.690728832203234
]
}
]
}
],
"Summary": {
"DataSource": "Esri",
"Distance": 9.78718539102932,
"DistanceUnit": "Kilometers",
"DurationSeconds": 1175.9156592709999,
"RouteBBox": [
139.70117425999607,
35.67884619113183,
139.770863588777,
35.69111586108304
]
}
}
結果
71/92