Data compression method and apparatus and terminal

The invention relates to a data compression method and apparatus and a terminal. The data compression method comprises the steps of obtaining a data node in fence data, and a left node and a right node adjacent to the data node; respectively connecting the data node with the left node and the right...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: HE WUWEN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention relates to a data compression method and apparatus and a terminal. The data compression method comprises the steps of obtaining a data node in fence data, and a left node and a right node adjacent to the data node; respectively connecting the data node with the left node and the right node to form a line segment included angle taking the data node as a vertex, and judging whether theincluded angle is smaller than a preset angle tolerance; when the included angle is smaller than a preset angle tolerance, making a fan shape through the left node, and judging whether the data nodefalls into the fan shape or not; if so, deleting the data node. According to the method, the defect that data compression is conducted through a traditional James algorithm can be overcome, especially, compression processing on electronic map fence data is more effective, and the graphic distortion situation after compression is effectively improved. 本申请涉及一种数据压缩方法、装置及终端,数据压缩方法包括获取围栏数据中一个数据节点及与数据节点相邻的左节点和右节点;分别连接数据节点与左节点和右节