摘要
针对工程实践中不同坐标系下DWG数据相互变换的实际需要,通过对DWG数据存储组织结构以及AutoCAD.NET API的深入研究,采用平面四参数转换方法,基于Visual Studio 2010和AutoCAD 2008开发平台,成功开发了DWG数据坐标变换程序。以沈阳市1∶500比例尺、1954北京坐标系的DWG数据为例,实现了不同坐标系下DWG数据的互相变换,并对变换后的数据进行了要素检查和精度分析。结果证明,采用基于AutoCAD.NET API二次开发的技术能够很好地满足DWG数据在不同坐标系下互相变换的应用需求,大大地节省了工作时间,提高了工作效率。
The article aims at the actual need of the transformation of DWG data in different coordinate systems in engineering practice,studying DWG data storage organization structure and AutoCAD .NET API deeply,adopting plane four parameters coordinate transformation model,DWG data coordinate transformation program has been successfully developed based on Visual Studio 2010 and AutoCAD 2008 development platform. Taking DWG data of 1 ∶500 scale,1954 Beijing coordinate system in Shenyang as example,realizing transformation of DWG data in different coordinate systems,checking elements and analysing accuracy for transformative data. The results show it is good that adopting development technology based on AutoCAD.NET API meets the application requirements of the transformation of DWG data in different coordinate systems,saves work time greatly and improves work efficiency.
作者
薄成
张西军
BO Cheng;ZHANG Xijun(Shenyang Geotechnical Investigation & Surveying Research Institute,Shenyang 110004,China)
出处
《测绘与空间地理信息》
2019年第3期198-201,共4页
Geomatics & Spatial Information Technology