制限速度のない消費量の計算

このリクエストは、走行速度が 20~35 m/s のルートを返します

curl -X GET \
'https://router.hereapi.com/v8/routes?origin=52.66181,13.38251&destination=51.772324,12.402652&return=polyline,summary,actions,instructions&spans=dynamicSpeedInfo,length,consumption,speedLimit,length&transportMode=car&departureTime=any&ev[freeFlowSpeedTable]=0,0.239,27,0.239,45,0.259,60,0.196,75,0.207,90,0.238,100,0.26,110,0.296,120,0.337,130,0.351,250,0.351&ev[trafficSpeedTable]=0,0.349,27,0.319,45,0.329,60,0.266,75,0.287,90,0.318,100,0.33,110,0.335,120,0.35,130,0.36,250,0.36&ev[ascent]=9&ev[descent]=4.3&apikey={YOUR_API_KEY}'

実際の速度制限がない場合、このルートで使用される総エネルギー量は、 145 km の間 43 kWh です

{
  "routes" : [
    {
      "id" : "dc225dd3-78d8-49ad-ad82-6350dc6848cd",
      "sections" : [
        {
          "transport" : {
            "mode" : "car"
          },
          "id" : "c677dd3b-aed2-412a-89d2-49b1d81d5e2e",
          "arrival" : {
            "place" : {
              "type" : "place",
              "location" : {
                "lat" : 51.773121199999999,
                "lng" : 12.3997402,
                "elv" : 116
              },
              "originalLocation" : {
                "lat" : 51.772323999999998,
                "lng" : 12.402652
              }
            }
          },
          "type" : "vehicle",
          "departure" : {
            "place" : {
              "type" : "place",
              "location" : {
                "lat" : 52.660966600000002,
                "lng" : 13.3847313,
                "elv" : 87
              },
              "originalLocation" : {
                "lat" : 52.661809900000002,
                "lng" : 13.38251
              }
            }
          },
          "summary" : {
            "consumption" : 43.343000000000004,
            "length" : 145350,
            "baseDuration" : 6337,
            "duration" : 6337
          }
        }
      ]
    }
  ]
}

」に一致する結果は 件です

    」に一致する結果はありません