摘要
ArcGIS与MapGIS是目前我国国土资源管理工作中广泛使用的两种地理信息系统软件,其在专业性和综合性方面各具优势。在实际工作中,为了有效地整合已有资源,避免重复工作,实现两种软件间数据快捷、无损的转换十分必要。由于不同GIS平台下的数据结构及渲染方式等均存在显著差异,利用现有转换方法常常造成数据失真,为了保证转换的精度,必须解析两种文件格式的存储结构,实现一对一的转换。本文借助两种软件提供的二次开发包,使用C#.Net编写了ArcGIS的Shapefile文件与MapGIS点线区文件相互转换的接口程序。采用二次开发方式避免了对软件平台的依赖,同时也减少了借助中间数据所带来的麻烦,并且可以实现工程间的转换,可以对大量文件进行批量转换。
ArcGIS and MapGIS are two types of geographic information system software widely used in land and resources management in China.They have their own advantages in specialization and comprehensiveness.In practical work,in order to effectively integrate existing resources and avoid duplication of work,it is necessary to realize fast and lossless data conversion between the two types of software.Due to the significant differences in data structure and rendering methods under different GIS platforms,the existing conversion methods often cause data distortion.In order to ensure the accuracy of conversion,it is necessary to analyze the storage structure of two file formats to realize one-to-one conversion.In this paper,with the help of the secondary development package provided by the two kinds of software,the interface program of transforming ArcGIS ShapeFile file and MapGIS point line area file is developed by using C#.Net.The secondary development method avoids the dependence on the software platform,but also reduces the cumbersome due to the intermediate data,and can realize the conversion between projects and batch conversion of a large number of files.
作者
杨宇青
杨莎莎
王体云
YANG Yuqing;YANG Shasha;WANG Tiyun(Guizhou Provincial First Institute of Surveying and Mapping,Guiyang 550025,China)
出处
《测绘与空间地理信息》
2022年第7期161-164,共4页
Geomatics & Spatial Information Technology