摘要
针对水工环工作过程中,未利用管理数据库而使属性数据编图工作量大的问题,以及不同GIS系统的数据向MapGis无缝转换难的特点,基于MapGis点文件的二进制解析,给出了点文件的数据类型及数据结构,重点对点文件的属性块进行了详细剖析,尤其是属性数据的长度计算、注释与子图的自动识别、常用数据类型自动识别、浮点数据类型的判定、属性数据的读写等几个关键环节。最后利用VC++语言实现了管理数据库中的属性数据生成了目标点文件,实现了自动成图,大大提高了成图效率;同时也为其他GIS软件向MapGis无缝转换提供了借鉴。
In view of the problem of large workload of attribute data mapping and the difficulty of seamless transformation of data from different GIS systems to MapGis,this paper presented the data type and data structure of the MapGis's point files,especially the attributes of the point files based on the binary analysis.Multiple data blocks of the point files were analyzed in details,such as the length calculation of attribute data,automatic recognition of annotations and subgraphs,automatic identification of commonly used data types,determination of floating-point data types,and reading/writing of attribute data as well.Finally,the target point file was generated from the management database's attribute data by using VC++language.This realizes automatic mapping and greatly improved the efficiency of mapping.It also provided theoretical support for seamless transformation from other GIS software to MapGis.
作者
杨艳林
靖晶
刘广宁
王世昌
YANG Yanlin;JING Jing;LIU Guangning;WANG Shichang(Wuhan Center, China Geological Survey, Wuhan 430205, China;School of Environmental Studies, China University of Geosciences, Wuhan 430074, China)
出处
《物探化探计算技术》
CAS
2020年第6期823-830,共8页
Computing Techniques For Geophysical and Geochemical Exploration
基金
中国地质调查局项目(DD20190263)。