针对GML空间数据冗余较大且存储和传输代价高的问题,提出一种GML空间数据压缩方法,采用VTD-XML解析GML文档,设计将树形结构的GML空间数据转换为2个线性结构数据的GBW变换,利用GZip压缩数据并输出。实验结果表明,该方法优于传统压缩方法,在提高GML空间数据压缩率的同时,并未明显增加压缩及解压缩时间。
Aiming at the high cost of transmitting and preserving for redundancy GML-based spatial data,a compression method is presented.It uses VTD-XML to parse GML document and designs GBW transform which transforms tree structure of GML-based spatial data to two linear structure data.It uses GZip to compress the data and output it.Experimental result indicates it defeats common methods and can improve compression rate of GML-based spatial data efficiency while not needing more compression and de-compression time.