Governments restrict access for trucks with certain properties (mostly weight) during weekends, public holidays, nights, or other time periods. The routing service automatically considers those restrictions and optimizes accordingly by either circumventing them or waiting until they end. If waiting, the routing service automatically decides whether it makes sense to take a legal rest time that fully or partially fits into the waiting time.
The routing service informs in response warnings where it made stops due to access restrictions or legal driver rest times. For truck bans, the warnings have an
isoCountryCode and a
truckRestrictionCategoryCode field, telling:
Routing can avoid environmental zones depending on vehicle type (&mode=...), emission class EURO I-VI (&emissionType=...), fuel type DIESEL, PETROL, LPG,LNG (&fuelType=), weight (&limitedWeight=...), time of day/weekday (&departure=...). Switch on this feature by parameter &excludeZoneType=environmental.
Environmental zones are already avoided, if only one of the above parameters (fuelType/emissionType/limitedWeight) is specified and matching for the zone, regardless what other parameters the zone defines. Ideally specify all three vehicle parameters.