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

CAD图形快速坐标转换方法实现
引用本文:彭良勇,李晓丹.CAD图形快速坐标转换方法实现[J].测绘与空间地理信息,2020(4):199-201.
作者姓名:彭良勇  李晓丹
作者单位:湖州创新国土测绘规划设计有限公司;上海应用技术学院计算机科学与信息工程学院
摘    要:坐标转换是测绘地理信息数据处理中最常见的问题之一。2018年国土资源部门全面使用2000国家大地坐标系的要求,更增加了图形数据坐标转换的需求。本文首先介绍了用Python编程实现四参数的快速解算方法,然后实现了用Python直接读写DXF文件坐标值实现坐标转换和在AutoCAD VBA环境下进行CAD图形坐标转换的快捷方法,并比较了两种方法的效率和优缺点。本文实现的坐标转换方法编程简单,使用方便,对于地理信息工作者和规划、国土等基层业务管理部门等具有很强的实用性。

关 键 词:四参数  坐标转换  DXF  PYTHON  VBA

Implementation of Fast Coordinate Transformation for CAD Vector Data
PENG Liangyong,LI Xiaodan.Implementation of Fast Coordinate Transformation for CAD Vector Data[J].Geomatics & Spatial Information Technology,2020(4):199-201.
Authors:PENG Liangyong  LI Xiaodan
Institution:(Huzhou Innovation Land Surveying and Mapping Planning and Design Co.,Ltd.,Huzhou 313000,China;School of Computer Science&Information Engineering,Shanghai Institute of Technology,Shanghai 201418,China)
Abstract:Coordinate transformation is one of the most common problems in surveying and Spatial data processing.This year,land and resources department begins to fully apply the CGCS 2000 and it brings a large demand for coordinate transformation.This paper firstly introduces the algorithm for quickly calculating four parameters by Python programming,secondly realizes coordinate transformation by reading and writing coordinate value of DXF file with Python and the fast algorithm of CAD graphic coordinate transformation in AutoCAD VBA environment,and finally compares the efficiency,advantages,and disadvantages of the two methods.The methods realized in this paper are simple and convenient,and have strong practicability for geographic information workers and grass-roots management departments such as planning,land and resources,etc..
Keywords:four parameters  coordinates transformation  drawing Exchange File  Python  VBA
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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