Page 1 of 1

How to distinguish between a car and a truck?

Posted: Thu Jul 25, 2019 3:53 pm
by Bernd Welter
HI there,

Last week a partner asked me how he's supposed to parametrize a vehicle profile to be a truck or car.
In fact I was quite surprised that it is not just a simple property you need to use for this.
Instead we have to use following combination of properties:
Routing / Vehicle / Physical / Drive / @driveType
Routing / Vehicle / Physical / Weight / @totalPermittedWeight

  • (@driveType=="MOTORIZED") and (@totalPermittedWeight <= 3500) is a car
  • (@driveType=="MOTORIZED") and (@totalPermittedWeight > 3500) is a truck
Thanks for asking this question, Harald...!
Thanks for answering it, Frank, Haba, Ralf ;-)
Best regards,
Bernd

Re: How to distinguish between a car and a truck?

Posted: Mon Jul 29, 2019 2:23 pm
by Joost
You also have to check the Routing / Vehicle / Load / @loadType . If it is set to GOODS or MIXED it is a truck, else it is a Coach (bus).

Re: How to distinguish between a car and a truck?

Posted: Mon Nov 21, 2022 2:37 pm
by Bernd Welter
In the context of xServer2 the properties in charge would be: