Skip to main content

How does Geotab calculate distance in various sections of MyGeotab?

FleetNavSystems-1081
Original Poster

Hey, Everybody!

 

These are kind of basic questions, but I'm looking for some fairly technical answers that I haven't been able to find via the Knowledge Base or other online resources.

 

What I'm specifically looking for here are two different things:

 

1) How does Geotab calculate distance for IFTA and HOS?

I believe these are both calculated based off of engine measurements by default; what I'm looking for are specifics on how Geotab gathers this engine data.

 

2) How does Geotab calculate distances on the Map?

My understanding is that this is gathered by GPS, which can differ from the engine measurements that we get for IFTA and HOS. What I'm looking for here is info on how Geotab calculates these distances based off of the GPS.

 

Not sure if I'm just missing where these articles are, or if this is info I've gotten over years of Support tickets, so any "official" documentation people can provide here would be of great help.

 

Thanks in advance! :)

 

Best,

Joy @FleetNavSystems-1081

 

Join the conversation

You need to be logged in to reply to this post and participate in the Geotab Community discussions.

Top Answers

Yep, all correct above.

Odometer is read on ignition change I believe, and every hour when driving. These will be shown in engine measurements as "Odometer" readings. When Geotab needs to get an odometer value at a precise date/time, it uses those readings to perform interpolations and get a precise value. Doing so can be time consuming and calculation-heavy, so they introduced the IFTA crawlers a while back that pre-process this as data is retrieved. The interpolation process is quite simple if the vehicle was stationary, odometers should be steady between two parked records anyway. However, if you request an odometer for when a vehicle was driving, Geotab will look at the closest actual odometer reading, let's say that was 30 minutes ago (it's never more than 1 hour as they grab one every hour). Then, it looks at all the GPS locations received SINCE that point 30 minutes ago, and calculates distance travelled since then from GPS. Suppose we actually drove 20 miles in that 30 minutes, that's a GPS based calculation, and it's added to the latest odometer reading, and this is the interpolated value that is returned. It's really quite smart and accurate. To produce IFTA reports, Geotab uses shapefiles to detect jurisdiction changes, and automates the process of retrieving those interpolated odometer values for all these points.

This is not an official Geotab answer, and is based from information I've gathered over the years. More readings off of the ECM might be done now because of the ELD mandate, some logs might require additional readings, I'm not sure. And perhaps they've tuned the interpolation process, but this was how it was described to me in a post on the old forums a good few years ago.

Hi crew!

 

Just wanted to jump in and say that Geotab staff confirmed these are great (correct) answers and we don't have anything else to add to what you brilliant people already know. 😊

8 Replies

Hey Joy,

 

Only some official documentation on this. I've had to gather things up over the last couple years via conversations with the team at Geotab. It also gets interesting when we start explaining TwoWire/Trip Tracking logic and raw vs adjusted odometer sources (to customers, at least!)

 

Everything you've said is correct. Trips and derivative data are all GPS-based, compliance is engine-based. I don't think I've ever seen a written response that details anything touching the secret 12 herbs and spices though.

 

How To Create A GPS-Based IFTA Report | Geotab Knowledge Article

Trip tracking/Two wire logic in GO devices | Geotab Community Question

FleetNavSystems-1081
Original Poster

Hey, thanks for this extra info, @andrewb-1122​! This is good stuff. That GPS-Based IFTA has come in handy a number of times. I don't think I've really gotten into the two-wire stuff as much, so will definitely be looking that one up more.

Have a great weekend! 🙂

 

Best,

Joy @FleetNavSystems-1081

Hi @jjake-8255​ ,

 

Just checking in to see if you still need me to check with the team, or if what Andrew supplied answered all of your questions?

 

Warm Regards,

Gen

 

P.S. Thank you @andrewb-1122​ for the help! I've been reading through every question posted this week (to assure everything is okay before the weekend break) and I must say you've been everywhere providing exceptional, consumable answers. It's very much appreciated! 😊

FleetNavSystems-1081
Original Poster

More detailed info would be great, @Genevieve-1051​.

Been appreciating @andrewb-1122​'s contributions all over here this week, too. Thanks, Andrew! 😎

Yep, all correct above.

Odometer is read on ignition change I believe, and every hour when driving. These will be shown in engine measurements as "Odometer" readings. When Geotab needs to get an odometer value at a precise date/time, it uses those readings to perform interpolations and get a precise value. Doing so can be time consuming and calculation-heavy, so they introduced the IFTA crawlers a while back that pre-process this as data is retrieved. The interpolation process is quite simple if the vehicle was stationary, odometers should be steady between two parked records anyway. However, if you request an odometer for when a vehicle was driving, Geotab will look at the closest actual odometer reading, let's say that was 30 minutes ago (it's never more than 1 hour as they grab one every hour). Then, it looks at all the GPS locations received SINCE that point 30 minutes ago, and calculates distance travelled since then from GPS. Suppose we actually drove 20 miles in that 30 minutes, that's a GPS based calculation, and it's added to the latest odometer reading, and this is the interpolated value that is returned. It's really quite smart and accurate. To produce IFTA reports, Geotab uses shapefiles to detect jurisdiction changes, and automates the process of retrieving those interpolated odometer values for all these points.

This is not an official Geotab answer, and is based from information I've gathered over the years. More readings off of the ECM might be done now because of the ELD mandate, some logs might require additional readings, I'm not sure. And perhaps they've tuned the interpolation process, but this was how it was described to me in a post on the old forums a good few years ago.

Great info @LPPapillon-1145​ 

 

During some me test we perform two years ago, the odometer changes every 8 kms while driving and fuel consumption every hour

FleetNavSystems-1081
Original Poster

Cool, thank you so much for the detailed info, @LPPapillon-1145​!

 

@INACTIVE - Francisco Núñez​, good info here, too, thanks!

 

Best,

Joy @FleetNavSystems-1081

Hi crew!

 

Just wanted to jump in and say that Geotab staff confirmed these are great (correct) answers and we don't have anything else to add to what you brilliant people already know. 😊

Still have questions?