Emission class parmeter
Posted: Tue Aug 23, 2016 10:39 am
Hi,
We would like to set EmissionClass (EURO_4, EURO_5, ...) parameter in routing. We need this paramer for toll cost calculation and for avoiding routes which have EmissionClass restrictions (for example only EURO_6 vehicles can use the route).
As we figured out from the manual we have 2 options to set that parameter: in the XML profile (Routing/Vehicle/Physical/Drive/Emissions element) located on the server and/or in the request object by using the CountryInfoVehicleOptions class. We assume that we need to set both parameters. EmissionClass paramer of ContryInfoVehicleOptions class is necessary for toll cost calculation, and the EmissionClass parameter of the XML Profile is necessary for avoiding routes based on vehicle's emission class.
It would be great if we can set the EsmissionClass paramer on demand in every query (in this case we shouldn't modify our profile xml at all). Is it possible?
So which EmissionClass parameter should we use for our routing goals?
Best regards,
Dániel Biró
We would like to set EmissionClass (EURO_4, EURO_5, ...) parameter in routing. We need this paramer for toll cost calculation and for avoiding routes which have EmissionClass restrictions (for example only EURO_6 vehicles can use the route).
As we figured out from the manual we have 2 options to set that parameter: in the XML profile (Routing/Vehicle/Physical/Drive/Emissions element) located on the server and/or in the request object by using the CountryInfoVehicleOptions class. We assume that we need to set both parameters. EmissionClass paramer of ContryInfoVehicleOptions class is necessary for toll cost calculation, and the EmissionClass parameter of the XML Profile is necessary for avoiding routes based on vehicle's emission class.
It would be great if we can set the EsmissionClass paramer on demand in every query (in this case we shouldn't modify our profile xml at all). Is it possible?
So which EmissionClass parameter should we use for our routing goals?
Best regards,
Dániel Biró