Patent attributes
A first set of traces is received by a device, each trace including a set of location data. Each set of location data includes an origin point, a plurality of intermediate points, and a destination point in an ordered sequence. A bounding box surrounding a trace of the first set of traces is drawn, the bounding box corresponding to endpoints of the trace. A function determines a threshold and classifies a trace as stationary or non-stationary. A trace is classified as stationary or non-stationary by comparing a ratio represented by the trace length divided by the bounding box diagonal length to the determined threshold. In response to classifying the trace as stationary, the trace is labeled as stationary. In response to classifying the trace as non-stationary, extremities are extracted from the trace for re-classifying.

