首页 | 本学科首页   官方微博 | 高级检索  
     

基于ObjectARX的AutoCAD到MAPGIS的数据转换
引用本文:王喜凤,王广正.基于ObjectARX的AutoCAD到MAPGIS的数据转换[J].安徽工业大学学报,2008,25(4):422-425.
作者姓名:王喜凤  王广正
作者单位:安徽工业大学计算机学院,安徽马鞍山243002
摘    要:已有的AutoCAD到MAPGIS的数据转换是把DXF格式转换为MPJ格式,但它只转换了较常用的实体,Mtext,BlockReference等没有转换过来,与原始数据的一致性较差;并且不能直接批量处理由DWG到MPJ的数据。针对这些问题,提出以ObjectARX为开发平台,直接把DWG格式的数据转换成MPJ格式,把AutoCAD中的实体及图形参数对应转换到MAPGIS的点、线、面文件中。通过测试,数据量约是以前转换的1/2,保持了与原始数据的一致性,且已广泛使用。

关 键 词:AUTOCAD  MAPGIS  数据转换  OBJECTARX

Data Transform Based on ObjectARX from AutoCAD to MAPGIS
WANG Xi-feng,WANG Guang-zheng.Data Transform Based on ObjectARX from AutoCAD to MAPGIS[J].Journal of Anhui University of Technology,2008,25(4):422-425.
Authors:WANG Xi-feng  WANG Guang-zheng
Affiliation:(School of Computer Science, Anhui University of Technology, Ma' anshan 243002, China)
Abstract:MAPGIS and AutoCAD are broad use's system at home and abroad, so the interaction with them is necessary. Data Transform sets up the friend bridge for them, and Data resources become shared with them. The DXF format is transformed in former Data Transform from AutoCAD to MAPGIS, but it only does common entities. For example, Mtext and BlockReference aren't transformed into MAPGIS, So the way lacks the consistency with the primary data. It can't batch the Data from DWG to MPJ. To these problems, a new method is put forward. The developer tool is ObjectARX. All entities of AutoCAD and the parameters of the entities are direct transformed into the point, line and region files. So it can hold the consistency with the primary data. Trough the test, data quantity is about fifty percent of the former, and it holds the consistency with the primary data.
Keywords:AutoCAD  MAPGIS  ObjectARX
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号