Toll as truck but not as a car
Posted: Thu Aug 03, 2017 8:20 am
Hello !
see attachement.....
i have a double Calculation for driving as a bus
1)Driving as a truck
2)Driving as a car
the route is Wien(Vienna)->Innsbruck->Bludenz->Neapel(Napoli)
i use the same parameters for both calculation....except type (CAR,TRU)
i get the toll for the truck....for A,D,LIE,CH,I
i get no toll for the car except a very cheap toll in Italy
i get no toll for car in A, CH (Vignette)
i have the following configuration for calculating the toll
CountryInfoVehicleOptions CountryInfoVehicleOptions = new CountryInfoVehicleOptions();
CountryInfoVehicleOptions.setAllEuro(true);
CountryInfoVehicleOptions.setDetailedTollCosts(true);
CountryInfoVehicleOptions.setCalculatePartTollCosts(true);
CountryInfoVehicleOptions.setNamedToll(true);
CountryInfoVehicleOptions.setTollTotals(true);
now my question : is there a missing configuration (Configuration file) , a mistake in the Java-Code....
Thanks in advance....
regards
Andreas Nemec
see attachement.....
i have a double Calculation for driving as a bus
1)Driving as a truck
2)Driving as a car
the route is Wien(Vienna)->Innsbruck->Bludenz->Neapel(Napoli)
i use the same parameters for both calculation....except type (CAR,TRU)
i get the toll for the truck....for A,D,LIE,CH,I
i get no toll for the car except a very cheap toll in Italy
i get no toll for car in A, CH (Vignette)
i have the following configuration for calculating the toll
CountryInfoVehicleOptions CountryInfoVehicleOptions = new CountryInfoVehicleOptions();
CountryInfoVehicleOptions.setAllEuro(true);
CountryInfoVehicleOptions.setDetailedTollCosts(true);
CountryInfoVehicleOptions.setCalculatePartTollCosts(true);
CountryInfoVehicleOptions.setNamedToll(true);
CountryInfoVehicleOptions.setTollTotals(true);
now my question : is there a missing configuration (Configuration file) , a mistake in the Java-Code....
Thanks in advance....
regards
Andreas Nemec