An apparatus comprising processing circuitry and at least one memory including computer program code instructions, the computer program code instructions configured to, when executed by the processing circuitry, cause the apparatus to:
- receive a sequence of location probe data points representative of travel of a vehicle along a portion of a road network during an interval of time;
- identify junction behavior in the sequence of location probe data points based on one or more features for the sequence of location probe data points;
- apply, based on a junction point that corresponds to a location probe data point immediately after a last probe data point in the junction, a gap placement in the sequence of location probe data points to generate at least a first subsequence of the location probe data points and a second subsequence of the location probe data points;
- and
- encode at least the first subsequence of the location probe data points and the second subsequence of the location probe data points in a database to provide anonymized mobility data for the vehicle.