Routing API v7 Developer's Guide

VehicleType

Contains vehicle specific information, which can be used to estimate CO2 emission.

VehicleType = EngineType + AverageConsumption
Parameter component Description
EngineType Vehicle engine type. See also EngineType.

Enum [diesel | gasoline | electric];

AverageConsumption

The average fuel consumption, measured in liters per 100km. Affects CO2 emission only in case of combustion engines (diesel and gasoline).

vehicletype=diesel,5.5

EngineType

Enumeration Description
diesel Diesel engine. Emits 2.64 kg of CO2 from each combusted liter of fuel.
gasoline Gasoline engine. Emits 2.392 kg of CO2 from each combusted liter of fuel.
electric Electric engine. Does not emit CO2.