基于ArcPy的控规CAD数据向MDB数据转换方法研究
Research on the Method of Regulatory Detailed Planning Data Conversion from CAD to MDB Based on ArcPy
蔡江宇 1陈明辉 2龚正坤 2黄燕2
作者信息
- 1. 中南林业科技大学理学院,湖南 长沙 410004
- 2. 东莞市地理信息与规划编制研究中心,广东 东莞 523000
- 折叠
摘要
控制性详细规划是城市规划实施管理的法定依据,其成果数据是国土空间规划数据库的重要基础数据.目前,CAD数据是控规成果的主要源数据,准确高效地将CAD规划数据的图属信息向GIS数据转换与入库是"一张图"建设的前提保障.研究提出了一种基于Pywin32和ArcPy库二次开发的数据转换方法,构建了东莞市控规CAD数据向MDB数据的映射关系和无损转换模型,有效地实现了CAD数据图形和属性信息的无损转换.实践结果表明,该方法能确保数据在格式转换前后图形-属性信息的一致性和完整性,具有良好的实用性和平台通用性,为大数据背景下跨平台数据处理与共享打下了坚实基础.
Abstract
The regulatory detailed planning is the legal basis for the implementation and management of urban planning,and its outcome data is an important basic data for the territorial spatial planning database. Currently,CAD is the main source data for regulatory detailed plan-ning. Accurately and efficiently converting the graphics and attribute information of CAD data to GIS data is the prerequisite for the construc-tion of"One Map". This paper proposes a data conversion method based on Pywin32 and ArcPy for secondary development,constructs a map-ping relationship and lossless conversion model from Dongguan' s regulatory detailed planning CAD data to MDB data,and effectively achieves the lossless conversion of CAD data graphics and attribute information. The results show that this method can ensure the consistency and integ-rity of graphics-attribute information before and after data format conversion,and has good practicality and platform universality,laying a solid foundation for cross-platform data processing and sharing in the context of big data.
关键词
ArcPy/控制性详细规划/数据入库/MDB/Pywin32/PythonKey words
ArcPy/regulatory detailed planning/data warehousing/MDB/Pywin32/Python引用本文复制引用
基金项目
国家自然科学基金项目(41671398)
国家自然科学基金项目(41401432)
广东省科技创新战略专项基金项目(pdjh2023a0078)
出版年
2024