A data-processing method and apparatus is provided. The method divides a lane curve into candidate division curves. The method determines N shape point combinations from the M shape points. The method acquires shape lengths between the M shape points and the shape start point. The method determines to-be-fitted parameters corresponding to the M shape points. The method determines, by the to-be-fitted parameters, N fitting point combinations corresponding to each of the N shape point combinations. generating, based on the shape start point, the shape end point, and the N fitting point combinations, N fitting curves. The method determines, based on a determination by the N fitting curves that there is a fitting point combination satisfying a shape deviation condition. The method determines the shape start point, the shape end point, and the target point combination as unit lane compressed data corresponding to the each of the candidate division curves.
Full Text
What is claimed is: