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

GUIDE: Odometer

Thu Oct 25, 2012 2:10 pm

GUIDE: Odometer

A odometer is something that measures the total distance a vehicle has traveled. There are two types of odometers in GpsGate. One that is handled by the device. And another that is a server side odometer.

Device Odometer. Many but not all GPS trackers have a built in odometer. The main advantage of having a odometer in the device is that it typically measure distance every second. And if the device let's say sends a position up to the server every minute, the distance calculation will be more accurate compared to if the server did it only by using the position updates.

First of all you need to enable the odometer for the device. This is typically done by sending a command to the device. Please check the device documentation.

And as a second step you enable the Device Odometer in the Device Mapper. You find the Device Mappers in the Admin menu. Step Device Odometer in Step 2. when editing the Device Mapper.

Server side _Odometer is a GpsGate Accumulator, that is a new type of variable introduced in GpsGate Server v3.1.

It will accumulate the distance traveled for a vehicle over time. You activate it under "Accumulators" when editing a vehicle/device. Right click on the vehicle and select "Edit User". You can also set a new _Odometer value at any time.

If device odometer is active, the _Odometer will use the device odometer. Otherwise GPS distance will be used. GPS distance is the distance between every position update sent from the device to the server.

_Odometer is used in Driver Journal. It can be used in all Event Rules, and you see the value in the Status tab.

Reports and tracks

All reports and tracks will use the enabled odometer. If server _Odometer is used it will be used for tracks and reports. If only device odometer is enabled it will be used for tracks and reports. If no odometer is enabled GPS distance will be used. That is the distance between all position saved by the server.

Advanced

When you change odometer, you need to reprocess reports and tracks for the change to take effect on historical data. New data will always use the current selected odometer.

Use the "Developer Tools" to reprocess historical data. Note that reprocessing takes a long time and slows down your server. It should be used sparsely:
http://forum.gpsgate.com/topic.asp?TOPIC_ID=12914

Regards,
Johan

GpsGate Support

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

RE: GUIDE: Odometer

Wed Jun 26, 2013 3:44 pm

From Patch.3840 and Reporting v3.1.0.4891 the odometer is now unified, and the same odometer is used for all tracks and reports. It is also easier to manage the Device Odometer in the Device Mapper.

Regards,
Johan

GpsGate Support

hamduc
Posts: 1
Joined: Mon Nov 25, 2013 6:48 am

RE: GUIDE: Odometer

Tue Nov 26, 2013 6:37 am

Hi all,

Please help me how to get OdoMeter from web service ?

Thank you

rosol
Posts: 98
Joined: Mon Feb 13, 2012 3:11 pm

RE: GUIDE: Odometer

Wed Apr 30, 2014 12:48 am

Regards

How to set Odometer from CAN value vehicle distance?

Regards

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

RE: GUIDE: Odometer

Wed Apr 30, 2014 9:40 am

Follow those steps:

1. Select Device Mapper from the Admin menu.
2. Click on Device Mapper for device.
3. Go to Step 2. Device Odometer
4. Select OdometerAcc as type
5. Select the CAN bus value as "Input"
6. Save

If you cannot see the CAN bus input in step 5. contact support @ gpsgate.com and we will take a look at the device plugin.

Regards,
Johan

GpsGate Support

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

RE: GUIDE: Odometer

Wed Apr 30, 2014 9:41 am

hamduc: (A bit late but...) you can use the "SOAP Platform Kit" to read out Odometer values using web services. more info: http://forum.gpsgate.com/topic.asp?TOPIC_ID=8097

Regards,
Johan

GpsGate Support

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