摘要
近年来GIS技术的应用越来越广泛,而大多数城市的基础地理信息数据都是CAD数据,因此在GIS项目的建设过程中,实现CAD文件的导入与导出显得尤为重要。本文以开发的地下管线系统为基础,详细阐述了GIS环境下的数据结构以及CAD文件与GIS文件数据的差异,编程实现提取CAD文件中的数据信息并存储到SQL数据库中,以及将地图中的管线信息导出为DXF格式文件,可使用AutoCAD打开进行查看。通过对作者开发的地下管线系统中CAD文件导入与导出模块进行测试,最终获得准确的导入导出结果。
In recent years,the application of GIS technology became more and more extensive,and most of the city’s basic geographic information data are CAD data.It is particularly importantin GIS project construction to make importing and exporting of CAD files come true.Based on the underground pipeline system,this paper elaborates thedata structure difference betweenCAD file and GIS file in GIS environment.Program extract the data in the CAD file and store it into the SQL database,and export the pipeline information to DXFfile,which can be viewed by Auto-cad.By the text of CAD file importing and exportingmodule of the pipeline management system developed by the author,and finally obtained the accurate result.
出处
《北京测绘》
2017年第5期119-122,126,共5页
Beijing Surveying and Mapping