User avatar
johan
GpsGate
Posts: 14991
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

GUIDE: Trip Definitions

Fri Mar 28, 2014 4:23 pm

Note: for an updated version of this and other articles, we recommend you to check our knowledge base here

Trip Definition

Set any input from the device (e.g. Ignition) or a Device Mapper Script to define what is a trip and what is idle.

Configure

1. Open "Device Mapper" from the Admin menu in VehicleTracker.

2. Under "Trip Definition" you can select how trip and idle is defined.

To let GpsGate automatically determine when the vehicle is moving or idle select "GPS movement". This is the default, and has been the only option in GpsGate until now.

To let an input from the GPS tracker determine if the vehicle is moving or not, select "Device Input". This can typically be Ignition or a motion detection input on the device. True means "trip", False means "idle".

You can also create a Device Mapper Script, which returns a boolean variable, and select it as Trip Defintion. First create the script, then select it as "Device Input". In this way you can create more complex algorithms for what is a trip and what is idle. More about Device Mapper Scripting here:
http://gpsgate.com/blogComment/device_mapper_scripting

Minimum Idle Time defines the minimum time a vehicle needs to be idle before a idle spot is created. Default 2 minutes.

Use

All features in GpsGate which uses trips and idle spots will now consider this feature, e.g reports and tracks drawn o the map.

View Trips rather than whole day Tracks.

Trip View feature, offers a practical and visual way to observe individual trips on the map.
http://gpsgate.com/blogComment/trip_view_feature

Change historical data

When you change Trip Definition for a Device Type, you need to reprocess tracks for affected users for the change to take effect on historical data.

To reprocess old track data use the "Developer Tools".
(Make sure the "Developer Tools" plugin is up to date. Update from labsupdate.gpsgate.com)
http://forum.gpsgate.com/topic.asp?TOPIC_ID=12914

Same types of devices with different Trip Definitions?

You can create new Device Types under SiteAdmin -> Devices -> Types

TIPS!

If you want to have SiteAdmin and a VehicleTracker application open at the same time, use two types of browsers. Firefox + Chrome.

Regards,
Johan

GpsGate Support

Alon
Posts: 180
Joined: Wed Sep 01, 2004 3:48 pm

RE: GUIDE: Trip Definitions

Mon Mar 31, 2014 7:27 am

Hi,
Will you consider differentiate between 'vehicle idle' and 'driver idle'?
Vehicle's idle is when IGN (or other signal by your choice) is ON but the vehicle does not move (with any limitation of you need, like speed above 5kph, etc.). When IGN is OFF the vehicle is neither RUN or IDLE. This will be used to report fuel waste.
Driver's idle is anytime during a working hours (or from first ignition to last off) the driver does not drive (doesn't matter if vehicle is in idle or not, per my explanation above). This will be used for resources (drivers) use improvements.

I hope it makes sense...

User avatar
johan
GpsGate
Posts: 14991
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: GUIDE: Trip Definitions

Mon Mar 31, 2014 10:52 am

You can always create more specialized reports which consider more inputs.

Regards,
Johan

GpsGate Support

piter197
Posts: 830
Joined: Sun Jan 09, 2011 3:32 am

RE: GUIDE: Trip Definitions

Sun Apr 26, 2015 5:10 am

Hi Support,

Instead of using input in device to define trip, can we use Geofence?
Or any kind work around to achieve this?

Thank you.

Best Regards,
piter197

User avatar
johan
GpsGate
Posts: 14991
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: GUIDE: Trip Definitions

Sun Apr 26, 2015 4:04 pm

Do something with Event Rules + EV100x report (or customize them).

The trips you see in TR100x reports can not be defined using geofences.

Regards,
Johan

GpsGate Support

ggsgeek
Posts: 325
Joined: Wed Feb 02, 2011 6:51 am

RE: GUIDE: Trip Definitions

Sun Apr 26, 2015 8:31 pm

We have done very complicated and advanced Trip Report using Event Rules and Report Data Provider. I would advise considering that path if your Trip Report requires advanced data. Event Rule can be setup to define a Trip Life cycle.

bertagnan
Posts: 9
Joined: Mon Oct 09, 2017 11:01 am

Re: GUIDE: Trip Definitions

Wed Mar 28, 2018 5:55 pm

using trip definition by input (e.g. ignition) is not working in the following case:
on
off
on

while it looks to be working fine in this condition:
on
off
off
on

It is like if the system is considering the idleing only between two off, while between and off and on the input has remained indeed off.

Any workaround to solve this?

Edit: We checked this option:

Extended idle state
Idle state is extended by one point by including the first point of a trip

which we didn't really understand the meaning and it looks now it is working perfectly taking also into account the "fat point" filtering. Please advice if you see anything wrong.

Return to “GpsGate Server - How to setup and use”