Computer Modeling in Engineering & Sciences |
DOI: 10.32604/cmes.2022.017663
ARTICLE
Time Synchronized Velocity Error for Trajectory Compression
1College of Information Engineering, Shanghai Maritime University, Shanghai, 201306, China
2College of Foreign Language, Shanghai Maritime University, Shanghai, 201306, China
*Corresponding Author: Dezhi Han. Email: dezhihan88@sina.com
Received: 28 May 2021; Accepted: 20 August 2021
Abstract: Nowadays, distance is usually used to evaluate the error of trajectory compression. These methods can effectively indicate the level of geometric similarity between the compressed and the raw trajectory, but it ignores the velocity error in the compression. To fill the gap of these methods, assuming the velocity changes linearly, a mathematical model called SVE (Time Synchronized Velocity Error) for evaluating compression error is designed, which can evaluate the velocity error effectively, conveniently and accurately. Based on this model, an innovative algorithm called SW-MSVE (Minimum Time Synchronized Velocity Error Based on Sliding Window) is proposed, which can minimize the velocity error in trajectory compression under the premise of local optimization. Two elaborate experiments are designed to demonstrate the advancements of the SVE and the SW-MSVE respectively. In the first experiment, we use the PED, the SED and the SVE to evaluate the error under four compression algorithms, one of which is the SW-MSVE algorithm. The results show that the SVE is less influenced by noise with stronger performance and more applicability. In the second experiment, by marking the raw trajectory, we compare the SW-MSVE algorithm with three others algorithms at information retention. The results show that the SW-MSVE algorithm can take into account both velocity and geometric structure constraints and retains more information of the raw trajectory at the same compression ratio.
Keywords: Trajectory compression; error evaluation; trajectory data; time synchronization velocity; compression ratio
Positioning technology is developing rapidly while the equipment is in and portable. The equipment obtains a large scale of trajectory data on various moving objects such as vehicles, humanities, animals, etc. That information, affluent and worthy, is contained in trajectory data and has applied widely to the fields such as behavioral analysis [1–3], regional analysis [4,5], and urban functions and computing [6–9]. The huge amount of data usually contains much redundant information, which brings enormous challenges to data storage, query and analysis, as well as transmission. To solve the above-mentioned problems, researchers have proposed outstanding and numerous algorithms of trajectory compression in the past decades [10–30]. These algorithms acquire the time and the rate of compression by losing the accuracy within the allowable error range and thus to meet the requirements in special situations.
When we compress the trajectory, the methods usually use distance to evaluate the error. Douglas et al. [11,13] used the Perpendicular Euclidean Distance (PED) as the criterion of the split points in compression, then it became one of the most common methods to evaluate the error of the compression. This method can accurately describe the geometric error between the compressed and the raw trajectory. Meratnia et al. [14] provided a mathematical model, Time-Ratio Distance metric (TRD), by calculating the distance between the raw and the projected position, which was calculated by the temporal scale of the compressed trajectory, as the error. Potamias et al. [17] proposed to use Time Synchronized Euclidean Distance (SED) as the criterion of error aim at maintaining the time information on the compressed trajectory. While predicts the position it differs from TRD by considering the velocity vector, rather than just the temporal scale. They both assumed that the object moved uniformly in the compressed trajectory, so the results are similar. Liu et al. [18] proposed a continuous method, namely Enclosed Area (EA), which calculated the area between the raw and the compressed trajectory segment as the error and was more accurate than predecessors’ method which was discrete, but for its low calculation efficiency it was seldom applied.
However, the velocity is ignored in the above-mentioned methods. In fact, the velocity is the foremost in trajectory compression as it contains more valuable information. Trajectory points with similar velocities usually represent the same type of motion along the direction, while the points with obvious velocity variation may imply changes in motion conditions [19]. Changes in geometric structure are usually reflected in velocity, but changes in velocity may not be showed in the structure. For example, a shift in means of transport is often embodied in the velocity but not the structure. Therefore, it is of great significance to evaluate the velocity error.
To fill the above gap, this paper proposes a mathematical model for evaluating velocity error in the trajectory compression, Time Synchronized Velocity Error (SVE). The main difference between the SVE and the state-of-the-art methods is the constraints of compression, as the former uses time synchronization velocity instead of distance that can improve quality. The model, found on the hypothesis of linear velocity variation (see Section 2.2 of this paper for details) can evaluate the error effectively, conveniently and accurately. On this basis, we come up with an innovative algorithm of trajectory compression, i.e., Minimum Time Synchronized Velocity Error Based on Sliding Window (SW-MSVE). Based on the Sliding Window, this algorithm preserves the minimum velocity error in the compression with low time complexity. The reliability of the SVE model and the SW-MSVE algorithm is experimentally verified in the Geolife [31–33].
The main contributions in this paper can be summarized as follows:
(1) We propose the new concept of time synchronized velocity. Based on the assumption of velocity changes linearly, the velocity of the compressed point in both latitude and longitude directions can be accurately calculated, which in turn can be used to evaluate the velocity errors generated during the trajectory compression.
(2) A novel mathematical model for evaluating compression error is designed, namely SVE. This model uses the time synchronized velocity as constraint instead of distance which can evaluate the compression error more effectively, conveniently, and accurately.
(3) An innovative algorithm of the trajectory compression is proposed, namely SW-MSVE, which can minimize the velocity error under the premise at local optimization. This algorithm preserves more information of the raw trajectory in the compression with the low time complexity and can be applied to both offline and online.
(4) Two elaborate experiments are designed to demonstrate the advancements of the SVE and the SW-MSVE respectively. In the first experiment, we use the PED, the SED and the SVE to evaluate the error under four compression algorithms, one of which is the SW-MSVE algorithm. The results show that the SVE is less influenced by noise with stronger performance and more applicability. In the second experiment, we compare the SW-MSVE algorithm with three others algorithms at information retention. The results show that the SW-MSVE algorithm can take into account both velocity and geometric structure constraints and retains more information of the raw trajectory at the same compression ratio.
The remainder of the article is organized as follows. A background of the theories will be presented scientifically in Section 2. The process of building the SVE mathematical model and the working principle of the SW-MSVE algorithm will be introduced in Section 3. Section 4 contains the fully experimental procedures and processing operations, followed by the discussion of test results in Section 5. Finally, conclusions will be offered in Section 6.
This chapter systematically introduces the theories used in this paper. We introduce the concept of trajectory compression firstly. Secondly, we illustrate the principle of three classical compression algorithms with examples. The algorithms are Douglas-Peucker (DP) [11], Top-Down Time-Ratio (TD-TR) [12], and Sliding Window (SW) [14] respectively. Finally, we introduce the computing methods of PED and SED.
2.1 Concepts and Methods of Trajectory Compression
In the allowable error range, trajectory compression is eliminating the raw trajectory point which take along the redundant information. Then we can obtain a compressed trajectory with smaller scale, lower redundancy which is similar to the raw one. Fig. 1 illustrates the concept of trajectory compression. The raw trajectory is shown in Fig. 1a and has 12 points. As shown in Fig. 1b, they are compressed to 4 points, which are the starting point
Researchers have proposed outstanding and numerous methods stand on the requirements of the trajectory compression. These methods are technically divided into three categories, line simplification compression methods [11–22], Map-matching based compression methods [23–27], and semantic compression methods [28–30]. The methods used in this paper belong to the first category and their working principles are separately described as below.
The Douglas-Peucker (DP) algorithm can preserve the spatial geometry of the raw trajectory in the compression and the key is to use several baselines and replace the trajectory. Firstly, the starting and ending points of the trajectory are connected as an approximate segment. Secondly, the PED is calculated for the intermediate points in turn (see Section 2.2 of this paper for details) and the algorithm selects the point that has the largest PED. If the PED of this point is above the specified threshold of the algorithm, then it will be added to the compressed trajectory and be selected as the split point which divides the trajectory into two sub-trajectories. the above operations should be repeated until all the points are unavailable to be the split point. The steps will be illustrated in Example 1 below:
Example 1: The trajectory
The DP algorithm has widely is applied in various fields for its simple ideas and better performance in both compression ratio and accuracy However, it has two disadvantages. Firstly, the time complexity of the algorithm is as high as
Based on the idea of the DP, the Top-Down Time-Ratio (TD-TR) algorithm uses a new distance function, namely SED (see Section 2.2 of this paper for details). Firstly, it finds the corresponding position of the original points on the baseline according to the velocity proportion and then calculates the Euclidean distance between the compressed and the original point. During this process, it selects the point that has the largest SED. If the SED of the point is greater than the specified threshold of the algorithm, then it will be added to the compressed trajectory and is selected as the split point which divides the trajectory into two sub-trajectories. the above operations should be repeated until all the points are unavailable to be the split point. The steps will be illustrated in Example 2 below:
Example 2: As shown in Fig. 3, the trajectory
The TD-TR algorithm has all the advantages of the DP and more accurate error because the SED considers both time and spatial factors. But it still has disadvantages including the following two points. Firstly, the time complexity of the algorithm is
The Sliding Window (SW) algorithm is one of the online compression techniques, which can compress trajectories with the premise at local optimum. The elemental idea is to eliminate the noise point by a window. The first step is to connect the starting point and the ending point in the window as the approximate segment and calculate the PED between the intermediate point and the segment. If it is smaller than the specified threshold of the algorithm, the window moves forward one bit and adds a new intermediate point. Otherwise, the intermediate point is used as a new starting point of the window and the calculation continues until the window moves to the last bit. The steps will be illustrated in Example 3 below:
Example 3: The trajectory
The SW algorithm has high execution efficiency with time complexity only
2.2 Error Evaluation Methods for Trajectory Compression: PED and SED
The PED is the point-to-line distance from the trajectory point to the baseline, while the SED is essentially the point-to-point distance. The PED and the SED represent the distance from
These methods provide an accurate measure of the error in the distance between the compressed and the raw trajectory. During the trajectory compression, the PED or the SED value is larger, the compressed trajectory is less geometrically similar to the raw one. On the contrary, the compressed trajectory is similar to the raw trajectory while the value of the PED or the SED is smaller.
3 SVE Mathematical Model and SW-MSVE Algorithm
We build a mathematical model to describe the velocity error during the trajectory compression and two assumptions are proposed for the trajectory sequence:
3.1 Time Synchronization Velocity
Based on the assumption
where
3.2 Velocity of Trajectory Points
According to the raw trajectory, we calculate the distance between the adjacent points in the directions of longitude and latitude firstly. Since the earth is an ellipsoid, the distance cannot be obtained only by subtracting the position and the actual situation must be fully considered. We should hold the following formula while calculating the velocity of a point in the directions of longitude and latitude:
where
According to the above formulas (2)–(5), we can deduce that:
where
Based on the assumption
where
According to the above formulas (6), (7), (10) and (11), we can deduce that:
Fig. 6 shows the calculative principle of the time synchronized velocity error and we can calculate the error
where
We define the raw trajectory sequence as
Firstly, the original latitude and longitude velocity lists are calculated from assumption
where
Then we respectively calculate the latitude and longitude velocity list of the compressed trajectory by the time synchronized velocity formula. The transformation is that the velocities of the points in the
where
Finally, we calculate the velocity error between the raw and the compressed trajectory according to formula (14) and average the error to obtain the SVE. The method of calculation is shown in formulas (19) and (20).
where
The average SVE during the whole trajectory compression is:
Fig. 7 shows the flow chart of the SVE to evaluate the error of trajectory compression. Firstly, input the raw trajectory and calculate the velocities in both directions of latitude and longitude respectively. Secondly, compress the raw trajectories by various algorithms and obtain the compressed trajectories. Then, based on the assumption of the velocity varying linearly, calculate the error between the time synchronous velocity and the actual velocity of each point and get the SVE of the compressed trajectory on average.
The principle of the SW-MSVE algorithm is shown in Alogrithm1. Based on the assumption of the velocity varying linearly, the SW-MSVE uses the sum of time synchronized velocity error in the directions of latitude and longitude as the distance function in the sliding window and can minimize the velocity error in the compression. However, this value is only the minimum velocity error under the premise at local optimization.
Before executing the algorithm, input the raw trajectory
The time complexity of Step 1 in the algorithm is
The SW-MSVE inherits all the advantages of the SW algorithm, such as low time complexity and high execution efficiency. The algorithm uses the SVE as the error and considers both time and velocity dimensions, thus it can guarantee the geometric similarity of the compressed and the raw trajectory. Another advantage of the algorithm will be verified through subsequent experiments in this paper.
To demonstrate the performances of the SVE and the SW-MSVE, we perform an experiment on the Geolife [31–33] dataset. We compare and analyze the variations of the PED, the SED and the SVE with compression ratio for the DP, TD-TR, SW and SW-MSVE algorithms. The experimentation is shown in Fig. 8. Firstly, input the raw trajectory data and filter out the noise points. Secondly, use four algorithms to compress the data. The experiment compares and analyzes the evaluation effects of the PED and the SVE under the DP algorithm, the SED and the SVE under TD-TR algorithm, the PED, the SED and the SVE under the SW and SW-MSVE algorithms. Finally, verify the advantage of the SW-MSVE in information retention by labeling the raw trajectory points.
4.1 Experimental Data and Environment
The original data of this experiment is collected from user 000 in the Geolife project (Microsoft Research Asia). The dataset includes 17,621 trajectories with a total distance of 1,292,951 km and a total duration of 50,176 h. Table 1 shows the format of the dataset. Each raw trajectory is saved in a PLT file, of which the first 6 rows are useless information that can be ignored and the data are organized starting from row 7. This experiment only extracts four attributes of data: Latitude, Longitude, Data, and Time.
The detailed experimental environment for this paper is shown below:
CPU: Intel(R) Core (TM) i5-6500 CPU@3.20 GHz, 3.192 Mhz.
RAM: 8G.
Operating system: Windows 10 Professional.
Compiler environment: Anaconda 2020.07; Jupyter notebook 6.0.3; Python 3.8.3;
Data package: Pandas, Matplotlib, Numpy, etc.
During the trajectory sequences collecting, there are often some disturbing factors that make a few points, which we call noise points, to appear in unreasonable positions. These points are small in scale but will affect the quality in trajectory compression. Filtering is important in those situations where the trajectory data is particularly noisy, or when one wants to derive other quantities from it, like speed or direction [34]. Therefore, the trajectory must be filtered before conducting the compression experiment. The common processing methods are Median filtering, Mean filtering, Kalman filtering, and Particle filtering. We compare the applicability of the four methods to the trajectory data and the need of the subsequent experiments, the Kalman filter was chosen to process the experimental data.
Kalman Filtering [34] is an algorithm that uses the state equation of a linear system to optimally estimate the system state from input and output observations. The specific steps and parameters are shown below:
At the
The filter’s threshold
When the error satisfies formula (34), it means that the measured value of the
By repeatedly executing formulas (22)–(26) and comparing the results obtained in each step according to formulas (34) and (35), the noise points that do not satisfy the conditions are finally removed. The Kalman filter has been used to filter out all noise points before the subsequent experiments.
The Kalman filtered trajectory data are compressed with the DP, TD-TR, SW and SW-MSVE algorithms. In order to compare and analyze the effect of the algorithms under the PED, the SED and the SVE, 100 different and non-uniform thresholds are selected for each algorithm to ensure the reciprocal of the compression ratio which was approximated every value between 0.01 and 1.00 in our experiment (it only calculated to two decimal places). Then the experiment compares the variation of the PED and the SVE with compression ratio under the DP algorithm, the variations of the SED and the SVE with compression ratio under the TD-TR algorithm, the variations of the PED, the SED and the SVE with compression ratio under the SW and SW-MSVE algorithms. The compression ratio is calculated as:
In order to show the trend of the compression ratio more clearly in the figures, subsequent figures are plotted using the reciprocal of the compression ratio. The formula for calculating the reciprocal of the compression ratio is:
Fig. 9 shows the relationship between the threshold and the compression ratio under the DP algorithm. The abscissa is the threshold taken from 0.01 to 100 to ensure that the reciprocal of the compression ratio approximates each value between 0.01 and 1.00. The ordinate is the compression ratio, which is taken between 0 and 1. Q1, Q2, Q3, Q4, and Q5 are taken from different scale of the raw trajectory from user 000. Q1 is taken from the maximum scale, Q5 from the minimum scale, Q3 from the median scale, and Q2 and Q4 from the three quartile and a quartile scale, respectively. When the threshold is 0.01, the lowest
Since others algorithms have the same processing as the DP algorithm in the selection of the threshold and the properties are basically similar, they will not be repeated in the following.
4.4.1 Performances of PED and SVE under DP Algorithm
The DP algorithm uses PED as the criterion for split points, thus it retains PED information greatly in trajectory compression. To demonstrate the well performance of the SVE under the DP algorithm, the variation rules of the PED and the SVE are analyzed experimentally with compression ratio of 150 trajectory segments. Fig. 10 shows the trend of the SVE with compression ratio from the Q1 to Q4. The abscissa indicates the reciprocal of the compression ratio while the ordinate indicates the error. In Fig. 10a, when
Fig. 11a shows the trends of the SVE and the PED with compression rate for 150 segment trajectories under the DP algorithm. The abscissa is the reciprocal of the compression ratio while the ordinate shows the average error between the compression and the raw trajectory.
where
As shown in Fig. 11b, the maximum error takes 1 when
In the subsequent experiments, we follow the operational procedure of the DP algorithm, so the repeated operations will not be described below.
4.4.2 Performances of SED and SVE under TD-TR Algorithm
The TD-TR algorithm uses the SED as the criterion for split points, thus it retains SED information greatly in the trajectory compression. To verify the well performance of the SVE under the TD-TR algorithm, the variation rules of the SED and the SVE are analyzed experimentally with compression ratio of 150 trajectory segments. Fig. 12 shows the trend of the SVE with compression ratio from the Q1 to Q4. The abscissa indicates the reciprocal of the compression ratio while the ordinate indicates the resulting error. In the Fig. 12a, when
Fig. 13a shows the trends of the SVE and the SED with compression rate for 150 segment trajectories under the TD-TR algorithm. When
4.4.3 Performances of PED, SED and SVE under SW Algorithm
To demonstrate the performances of the PED, the SED and the SVE under the SW algorithm, the variation rules of each evaluation method are analyzed experimentally with compression ratio of 150 trajectory segments. Fig. 14 shows the trends of the SED, the PED, and the SVE with compression ratio from the Q1 to Q4. The abscissa indicates the reciprocal of the compression ratio while the ordinate indicates the error. In Fig. 14a, the PED and the SED show a massive increase when the compression ratio is small. At a compression ratio of 111.11, the average PED for each point is up to 132 m and the SED is up to 422 m, which is seriously unsuitable as an evaluation criterion. It performs similarly in Figs. 14b–14d. In contrast, the SVE performs well, with the average LAT and LON of 3.63 and 2.80 m/s respectively, which has no large-scale variations.
In the SW algorithm, when c takes the maximum value of 90.9, the average SED of each point reaches 80.75 m and the average PED is 23.57 m. In this case, the average SVE in latitude and longitude is 2.14 and 1.81 m/s, respectively. As shown in Fig. 15b, we can find the rules
4.4.4 Performances of PED, SED and SVE under SW-MSVE Algorithm
To demonstrate the performances of the PED, the SED and the SVE under the SW-MSVE algorithm, the variation rules of each evaluation method are analyzed experimentally with compression ratio of 150 trajectory segments. Fig. 16 shows the trends of the SED, the PED and the SVE with compression ratio from the Q1 to Q4 trajectory. The abscissa indicates the reciprocal of the compression ratio while the ordinate indicates the error. In the Fig. 16a, the PED and the SED show a massive growth when the compression ratio is small. At a compression ratio of 142.85, the average PED for each point is up to 418.67 m and the SED is up to 693.70 m, which is seriously unsuitable as an evaluation criterion. It performs similarly in Figs. 16b–16d. In contrast, the SVE performs well, with the average LAT and LON of 4.19 and 5.87 m/s respectively, which has no large-scale variations.
In the SW-MSVE algorithm, when c takes the maximum value of 90.9, the average SED of each point reaches 168.95 m and the average PED is 74.16 m. In this case, the average SVE in latitude and longitude is 3.01 and 2.03 m/s, respectively. As shown in Fig. 17b, we can find the rules
4.4.5 Information Retention Rate of the Four Algorithms
Fig. 18 shows the raw trajectory map of the Q1 under the user 000. The activity range of the movable object is 39.900 to 40.075 N and 116.25 to 116.60 E (Beijing city) and a total of 14184 trajectory sequence points are recorded. In order to verify that the SW-MSVE algorithm retains more information in the trajectory compression, the experiment marks the points carrying larger PED, SED, and SVE information in the raw trajectory. The trajectories are compressed using the above four algorithms to test the information rate of their retaining. The experiments mark 3000 (about 25%) trajectory points in Q1. When
where
The retained PED information of each trajectory compression algorithm is shown in Fig. 19. The red trajectory points are the PED marked points and the blue points are the non-PED marked points. According to the retention amount of PED information, the algorithm is sorted and the order from high to low is DP, SW, SW-MSVE and TD-TR. The DP and SW algorithms use the PED as the distance criterion of compression, thus to preserve more PED information in the compression. The PED information retention rate of the SW-MSVE algorithm is higher than that of the TD-TR algorithm, indicating that the SW-MSVE algorithm takes better account of the spatial geometric structure of the raw trajectory than the TD-TR algorithm.
The retained SED information of each trajectory compression algorithm is shown in Fig. 20. The red trajectory points are the SED marked points and the blue points are the non-SED marked points. According to the retention amount of SED information, the algorithm is sorted and the order from high to low is TD-TR, SW, SW-MSVE and DP algorithm. The TD-TR algorithm uses SED as the distance criterion, thus to preserve more SED information in the compression. The SED information retention ratio of the SW and SW-MSVE algorithms are very similar, indicating that the SW and SW-MSVE algorithms have similar ability to constrain the raw trajectories in both spatial and temporal dimensions. The DP has the weakest constraint ability.
The retained SVE information of each trajectory compression algorithm is shown in Fig. 21. The red trajectory points are the SVE marked points and the blue trajectory points are the non-SVE marked points. According to the retention amount of SVE information, the algorithm is sorted and the order from high to low is SW-MSVE, SW, TD-TR and DP algorithm. The SW-MSVE algorithm uses SVE as the distance criterion, thus to preserve more SVE information in the compression. The SW algorithm retains more SVE information than that of the TD-TR and DP algorithms, indicating that the SW algorithm takes better account of the velocity.
In order to further verify the above rules, four large-scale trajectories R1, R2, R3 and R4 are selected for the experiments. The experimental results are shown in Table 2. The experiments marked 3000 (about 25%) maximum PED, SED, and SVE points in R1 and 1250 (about 25%) maximum PED, SED, and SVE points in R2, R3 and R4, respectively. In the case of
Table 2 shows that the DP algorithm has poor performance in SVE that the information retention rate of is less than 60%, while the PED information retention rate under the SW-MSVE algorithm is higher than the DP algorithm. The TD-TR algorithm has higher information retention rate than the DP algorithm in the SVE, but it is far lower than the SED information retention rate in the SW-MSVE algorithm. The PED information retention rate under the SW algorithm is higher than the SW-MSVE algorithm and their SED information retention rate are almost the same and the SVE information retention rate is kept at only 70%. The overall information retention rate of the SW algorithm is slightly lower than that of the SW-MSVE algorithm. In general, the SW-MSVE algorithm has highest information retention rate than the other algorithms.
During the above experiments, we analyze the four algorithms of trajectory compression using the SVE, the PED, and the SED, respectively. The experimental results are shown in Table 3. At the same algorithm, the SVE varies less than the PED and the SED when the compression ratio gradually increases. This situation indicates that the SVE has better adaptability than the PED and the SED. When we use the PED and the SED to evaluate the error of trajectory with high compression rate, there will be many abnormal values. The SVE will not have such a situation. When using the PED and the SED to evaluate the Sliding Window algorithm, the error greatly fluctuates and the quality of trajectory compression cannot be accurately evaluated, so the performance is weaker. Similarly, the rest of the performance is recorded in the table. When we use the SVE to measure the error of four algorithms, the experiments show that they are less influenced by noise and the overall variation has linear characteristics with stronger performance and more applicability.
For the SW-MSVE algorithm, the quality in the trajectory compression is experimentally demonstrated. In this process, the SW-MSVE always retains higher information rate compared to the DP and TD-TR algorithms. For example, while retaining 100% of the SVE information points, the algorithm retains up to 80.8% PED information points. The SW-MSVE algorithm has low time complexity and is applicable to both offline and online compression methods.
In this paper, a new evaluation model (SVE) of trajectory compression error is proposed and its feasibility is verified experimentally, which fills the gap on evaluation of velocity error for trajectory compression in industry. This model is less influenced by noise and has linear characteristics in the overall variation with strong performance, so that it can be applied to more algorithms. Base on this model, an innovative trajectory compression algorithm (SW-MSVE) is proposed in this paper. The SW-MSVE algorithm uses the time synchronous velocity error as the distance function, which retains more valuable information of the raw trajectory in the compression. This algorithm provides a new idea for the trajectory compression method because the lower time complexity and wider applicability. In the future research, we believe that there will be more and more researches based on the SVE which will be widely applied in fields gradually. But there are still some shortcomings in the algorithms and models. For example, there are some bumpy shapes to appear in figure when we use the SVE to evaluate some trajectory segments in the experiment. These shortcomings may be caused by the lack of accurate filtering before trajectory compression. In future experiments, the constraints on trajectory filtering should be strengthened to avoid the influence of noise points. Besides, the current SW-MSVE algorithm can only guarantee the minimized overall velocity error with local optimization therefore in the future work we should design more reliable algorithms can minimize the global velocity error. The SVE model and the SW-MSVE algorithm are mainly constrained for velocity and thus are more suitable for which applications with high constraints on velocity.
Acknowledgement: The authors would like to thank the Assistant Editor of this article and anonymous reviewers for their valuable suggestions and comments.
Funding Statement: This research is supported by the National Natural Science Foundation of China under Grants 61873160 and 61672338.
Conflicts of Interest: The authors declare that they have no conflicts of interest to report regarding the present study.
1. Li, M., Westerholt, R., Fan, H., Zipf, A. (2018). Assessing spatiotemporal predictability of LBSN: A case study of three foursquare datasets. Geoinformatica, 22(3), 541–561. DOI 10.1007/s10707-016-0279-5. [Google Scholar] [CrossRef]
2. Pao, H. K., Fadlil, J., Lin, H. Y., Chen, K. T. (2012). Trajectory analysis for user verification and recognition. Knowledge-Based Systems, 34(1), 81–90. DOI 10.1016/j.knosys.2012.03.008. [Google Scholar] [CrossRef]
3. Giannotti, F. (2011). Unveiling the complexity of human mobility by querying and mining massive trajectory data. VLDB Journal, 20(5), 695–719. DOI 10.1007/s00778-011-0244-8. [Google Scholar] [CrossRef]
4. Doytsher, Y., Galon, B., Kanza, Y. (2011). Storing routes in socio-spatial networks and supporting social-based route recommendation. Proceedings of the 3rd ACM SIGSPATIAL International Workshop on Location-Based Social Networks, pp. 49–56. Dallas, Texas, USA. DOI 10.1145/2063219. [Google Scholar] [CrossRef]
5. Zheng, Y., Zhang, L., Ma, Z., Xie, X. (2011). Recommending friends and locations based on individual location history. ACM Transactions on the Web, 5(1), 19–64. DOI 10.1145/1921591.1921596. [Google Scholar] [CrossRef]
6. Pan, G., Qi, G., Wu, Z., Zhang, D. (2013). Land-use classification using taxi GPS traces. IEEE Transactions on Intelligent Transportation Systems, 14(1), 113–123. DOI 10.1109/TITS.2012.2209201. [Google Scholar] [CrossRef]
7. Liu, X., Kang, C., Gong, L., Liu, Y. (2016). Incorporating spatial interaction patterns in classifying and understanding urban land use. International Journal of Geographical Information Science, 30(2), 334–350. DOI 10.1080/13658816.2015.1086923. [Google Scholar] [CrossRef]
8. Zhang, J., Zheng, Y., Qi, D. (2017). Deep spatio-temporal residual networks for citywide crowd flows prediction. Proceedings of the Thirty-First AAAI Conference on Artificial Intelligence, pp. 1655–1661. San Francisco, California, USA. [Google Scholar]
9. Jiang, J., Xu, C., Xu, J., Xu, M. (2016). Route planning for locations based on trajectory segments. Smart Cities and Urban Analytics, 1, 1–8. DOI 10.1145/3007540. [Google Scholar] [CrossRef]
10. Birnbaum, J., Meng, H. C., Hwang, J. H., Lawson, C. (2013). Similarity-based compression of GPS trajectory data. Fourth International Conference on Computing for Geospatial Research and Application, pp. 92–95. San Jose, CA, USA, [Google Scholar]
11. Douglas, D. H., Peucker, T. K. (1973). Algorithms for the reduction of the number of points required to represent a digitized line or its caricature. The International Journal for Geographic Information and Geovisualization, 10(2), 112–122. DOI 10.3138/FM57-6770-U75U-7727. [Google Scholar] [CrossRef]
12. Keogh, E., Chu, S., Hart, D., Pazzani, M. (2001). An online algorithm for segmenting time series. IEEE International Conference on Data Mining, pp. 289–296. San Jose, CA, USA. [Google Scholar]
13. Hershberger, J., Snoeyink, J. (1992). Speeding up the douglas—peucker line—simplification algorithm. Proceeding 5th International Symposium on Spatial Data Handling, pp. 1–16. Charleston, South Carolina, USA. [Google Scholar]
14. Meratnia, N., de By, R. A. (2004). Spatiotemporal compression techniques for moving point objects. Lecture Notes in Computer Science, 2992, 765–782. DOI 10.1007/b95855. [Google Scholar] [CrossRef]
15. Yuan, D., Wang, Y. (2020). A multi-UAVs’ trajectory data compression method based on 3D-SPM algorithm. The 39th Chinese Control Conference, pp. 6874–6880. Shenyang, Liaoning, China. [Google Scholar]
16. Sun, S., Chen, Y., Piao, Z., Zhang, J. (2020). Vessel AIS trajectory online compression based on scan-pick-move algorithm added sliding window. IEEE ACCESS, 8, 109350–109359. DOI 10.1109/ACCESS.2020.3001934. [Google Scholar] [CrossRef]
17. Potamias, M., Patroumpas, K., Sellis, T. (2006). Sampling trajectory streams with spatiotemporal criteria. Proceedings of the 18th International Conference on Scientific and Statistical Database Management, pp. 275–284. Vienna, Austria. [Google Scholar]
18. Liu, G., Iwai, M., Sezaki, K. (2012). A method for online trajectory simplification by enclosed area metric institute of industrial science. Japan: University of Tokyo Institute of Industrial Science. [Google Scholar]
19. Qian, H., Lu, Y. (2017). Simplifying GPS trajectory data with enhanced spatial-temporal constraints. ISPRS International Journal of Geo-Information, 6(11), 329. DOI 10.3390/ijgi6110329. [Google Scholar] [CrossRef]
20. Liu, J., Li, H., Yang, Z., Wu, K., Liu, Y. et al. (2019). Adaptive Douglas-Peucker algorithm with automatic thresholding for AIS-based vessel trajectory compression. IEEE Access, 7, 150677–150692. DOI 10.1109/ACCESS.2019.2947111. [Google Scholar] [CrossRef]
21. Huang, Y., Li, Y., Zhang, Z., Liu, R. W. (2020). GPU-accelerated compression and visualization of large-scale vessel trajectories in maritime IoT industries. IEEE Internet of Things Journal, 7(11), 10794–10812. DOI 10.1109/JIOT.2020.2989398. [Google Scholar] [CrossRef]
22. Liang, M., Liu, R. W., Li, S., Xiao, Z., Liu et al. (2021). An unsupervised learning method with convolutional auto-encoder for vessel trajectory similarity computation. Ocean Engineering, 225, 108803. DOI 10.1016/j.oceaneng.2021.108803. [Google Scholar] [CrossRef]
23. Yin, H., Wolfson, O. (2004). A weight-based map matching method in moving objects databases. Proceedings of the 16th International Conference on Scientific and Statistical Database Management, pp. 437–438. Greece, Santorini Island. [Google Scholar]
24. Lerin, P. M., Yamamoto, D., Takahashi, N. (2012). Encoding travel traces by using road networks and routing algorithms. Smart Innovation, Systems and Technologies, 14, 233–243. DOI 10.1109/MDM.2009.50. [Google Scholar] [CrossRef]
25. Schmid, F., Richter, K. F., Laube, P. (2009). Semantic trajectory compression. Lecture Notes in Computer Science, 5644, 411–416. DOI 10.1007/978-3-642-02982-0. [Google Scholar] [CrossRef]
26. Yang, X., Wang, B., Yang, K., Liu, C. (2018). A novel representation and compression for queries on trajectories in road networks. IEEE Transactions on Knowledge and Data Engineering, 30(4), 613–629. DOI 10.1109/TKDE.2017.2776927. [Google Scholar] [CrossRef]
27. Liu, S., Chen, G., Wei, L., Li, G. (2021). A novel compression approach for truck GPS trajectory data. IET Intelligent Transport Systems, 15(1), 74–83. DOI 10.1049/itr2.12005. [Google Scholar] [CrossRef]
28. Richter, K. F., Schmid, F., Laube, P. (2012). Semantic trajectory compression: Representing urban movement in a nutshell. Journal of Spatial Information Science, 4(2012), 3–30. DOI 10.5311/JOSIS.2012.4.62. [Google Scholar] [CrossRef]
29. Su, H., Zheng, K., Zeng, K., Huang, J. (2014). STMaker-a system to make sense of trajectory data. Proceedings of the VLDB Endowment, 7(13), 1701–1704. DOI 10.14778/2733004.2733065. [Google Scholar] [CrossRef]
30. Su, H., Zheng, K., Zeng, K., Huang, J., Sadiq, S. et al. (2015). Making sense of trajectory data: A partition-and-summarization approach. Computer, 3, 963–974. DOI 10.1109/ICDE.2015.7113348. [Google Scholar] [CrossRef]
31. Zheng, Y., Zhang, L., Xie, X., Ma, W. (2010). Mining interesting locations and travel sequences from GPS trajectories. Proceedings of International Conference on World Wild Web, pp. 791–800. Madrid, Spain. [Google Scholar]
32. Zheng, Y., Li, Q., Chen, Y., Xie, X. (2008). Understanding mobility based on GPS data. Proceedings of ACM Conference on Ubiquitous Computing, pp. 312–321. Seoul, Korea. [Google Scholar]
33. Zheng, Y., Xie, X., Ma, W. (2010). GeoLife: A collaborative social networking service among user, location and trajectory. IEEE Data Engineering Bulletin, 33(2), 32–40. DOI 10.1109/MDM.2009.50. [Google Scholar] [CrossRef]
34. Zheng, Y., Zhou, X. (2011). Compute with spatial trajectories, pp. 23–27. Berlin Germany: Springer. [Google Scholar]
This work is licensed under a Creative Commons Attribution 4.0 International License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. |