long PCMSReduceCalculate(Trip trip, double maxMilesOffRoute, bool highwayOnly)
Trip trip – Handle to a trip.
double maxMilesOffRoute – Defines the number of miles that latitude/longitude pings can deviate from the calculated trip before the trip is recalculated. The default expected value is 2.0 miles.
bool highwayOnly – A boolean representation of if highway only routing should be used. To use street-level routing, this must be set to false. The default expected value is true.
Allows you to calculate a trip based on the latitude/longitude pings added with PCMSAddPing. This function calculates and reduces the total number of pings in a trip to eliminate duplicates and outliers. Once the trip has been calculated, the information can be retrieved using PCMSGetRpt and PCMSGetRptLine.
Supported Since: PC*MILER Connect 22
Category: Trip Management