摘要
AutoCAD图形文件是地理信息系统重要的数据源,研究AutoCAD文件向地理信息数据格式转换对实现数据共享有重要意义.论文分析了MapInfo和AutoCAD的DXF、DWG文件格式,论述了传统AutoCAD数据到MapInfo转换的方法;提出利用MapXtreme 2004和AutoCAD ActiveX实现DWG文件向MapInfo文件转换的方法,该方法利用面向对象技术直接提取、转换数据.最后论述了实现过程和难点.实践证明,在数据转换时利用地理信息软件与AutoCAD的ActiveX控件的方法优于直接读取数据文件.
AutoCAD graphic file is an important data source of geographic information system, and conversion method from AutoCAD file to geographic information data format is important for data sharing. In the paper, DXF, DWG data file format of AutoCAD and MapInfo were studied and data conversion methods were discussed firstly. Then conversion method from AutoCAD DWG file to MapInfo file by using MapXtreme2004, AutoCAD ActiveX, and object-orient technology was given, and the realization process and difficulty were discussed at last. The result shows that the method is better than reading data file directly.
出处
《河南理工大学学报(自然科学版)》
CAS
2006年第2期116-120,共5页
Journal of Henan Polytechnic University(Natural Science)
基金
河南省科技攻关项目(0524220036)