How to distinguish between a car and a truck?

Deals with generic topics such as logging, framework and so on. If you are not sure where to place your topic just put it here.

How to distinguish between a car and a truck?

Postby Bernd Welter » Thu Jul 25, 2019 3:53 pm

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 swe 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
Bernd Welter
Senior Technical Consultant Developer Components
PTV GROUP - Germany

Bernd at Youtube
User avatar
Bernd Welter
Site Admin
 
Posts: 1353
Joined: Mon Apr 14, 2014 10:28 am

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

Postby Joost » Mon Jul 29, 2019 2:23 pm

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).
Joost Claessen
Senior Technical Consultant
PTV Benelux
Joost
 
Posts: 237
Joined: Fri Apr 25, 2014 1:46 pm


Return to Generic questions

cron